diff options
Diffstat (limited to 'hid/src/usb/hid.h')
-rw-r--r-- | hid/src/usb/hid.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/hid/src/usb/hid.h b/hid/src/usb/hid.h index 51b14b96..6c3772f2 100644 --- a/hid/src/usb/hid.h +++ b/hid/src/usb/hid.h @@ -151,6 +151,9 @@ class UsbMouseAbsolute { void begin() { _mouse.begin(); +#ifdef HID_USB_ABS_WIN98_FIX + _mouse.setWin98Fix(true); +#endif } void clear() { @@ -161,11 +164,7 @@ class UsbMouseAbsolute { void sendMove(int x, int y) { CHECK_HID_EP; -#ifdef HID_USB_ABS_WIN98_FIX - _mouse.moveTo(x << 1, y << 1); -#else _mouse.moveTo(x, y); -#endif } void sendWheel(int delta_y) { |