This website works better with JavaScript.
Home
Explore
Help
Sign In
MNT
/
reform
Watch
2
Star
0
Fork
4
Code
Issues
0
Pull Requests
3
Releases
0
Wiki
Activity
Browse Source
reform2 trackpad: remove superflous wheel coordinate check
pull/10/head
mntmn
6 months ago
parent
893bb6cefa
commit
9ed12b47be
Signed by:
mntmn
GPG Key ID:
376511EB67AD7BAF
1 changed files
with
0 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
Write
Preview
Loading…
Cancel
Save