Browse Source

trackball: remove 1.5x X multiplier

mntmn 4 years ago
parent
commit
9d78b250ab
1 changed files with 1 additions and 1 deletions
  1. 1 1
      reform-trackball-fw/Mouse.c

+ 1 - 1
reform-trackball-fw/Mouse.c

@@ -292,7 +292,7 @@ bool CALLBACK_HID_Device_CreateHIDReport(USB_ClassInfo_HID_Device_t* const HIDIn
     MouseReport->Wheel = -ny;
     led_error();
   } else {
-    MouseReport->X = 1.5*(float)(abs(nx)*nx);
+    MouseReport->X = abs(nx)*nx;
     MouseReport->Y = abs(ny)*ny;
   }