Make scrolling utilize mouse_kinetic_state_t, just like mouse movements. Fix scrolling issue by making distance float. Add new debug functions for ints and float.

This commit is contained in:
László Monda
2017-11-28 02:01:26 +01:00
parent 0867132ba3
commit 729e0be0ad
7 changed files with 82 additions and 34 deletions

View File

@@ -25,8 +25,8 @@
uint8_t buttons;
int16_t x;
int16_t y;
int8_t wheelX;
int8_t wheelY;
int8_t wheelX;
} ATTR_PACKED usb_mouse_report_t;
// Variables: