mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-30 01:21:54 +08:00
win95 runtime switching
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user