Browse Source

reform2 trackpad: remove superflous wheel coordinate check

master
mntmn 2 weeks ago
parent
commit
9ed12b47be
Signed by: mntmn <lukas@mntre.com> GPG Key ID: 376511EB67AD7BAF
1 changed files with 0 additions and 4 deletions
  1. +0
    -4
      reform2-trackpad-fw/Mouse.c

+ 0
- 4
reform2-trackpad-fw/Mouse.c View File

@@ -297,12 +297,8 @@ bool CALLBACK_HID_Device_CreateHIDReport(USB_ClassInfo_HID_Device_t* const HIDIn
// touchdown because they often have skips
if (touched_time > 4) {
if (wheeling) {
if (dy>127) dy = 127;
if (dy<-127) dy = -127;

dy/=5;
if (dy>0 && dy<1) dy=1;

MouseReport->Wheel = -dy;
} else {
// normal movement


Loading…
Cancel
Save