diff options
Diffstat (limited to 'hid/src/usb/hid.h')
-rw-r--r-- | hid/src/usb/hid.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/hid/src/usb/hid.h b/hid/src/usb/hid.h index 6c3772f2..13f68cf1 100644 --- a/hid/src/usb/hid.h +++ b/hid/src/usb/hid.h @@ -149,11 +149,13 @@ class UsbMouseAbsolute { public: UsbMouseAbsolute() {} - void begin() { + void begin(bool win98_fix) { _mouse.begin(); -#ifdef HID_USB_ABS_WIN98_FIX - _mouse.setWin98Fix(true); -#endif + _mouse.setWin98FixEnabled(win98_fix); + } + + bool isWin98FixEnabled() { + return _mouse.isWin98FixEnabled(); } void clear() { |