diff options
author | Devaev Maxim <[email protected]> | 2021-07-14 13:23:41 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2021-07-14 13:23:41 +0300 |
commit | 937d8320f84f48572900dc495a80ac09e04ab413 (patch) | |
tree | 669de2f9f5f9c08ef6218b94e9c8cb8add8df6de /hid/patches/hid-abs-mouse-mac-fix.patch | |
parent | f641afcc6be81145b542fcdb4aa7096fca29d2db (diff) |
moved some patches to upstream
Diffstat (limited to 'hid/patches/hid-abs-mouse-mac-fix.patch')
-rw-r--r-- | hid/patches/hid-abs-mouse-mac-fix.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/hid/patches/hid-abs-mouse-mac-fix.patch b/hid/patches/hid-abs-mouse-mac-fix.patch deleted file mode 100644 index 57fef195..00000000 --- a/hid/patches/hid-abs-mouse-mac-fix.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff --git a/src/SingleReport/SingleAbsoluteMouse.cpp b/src/SingleReport/SingleAbsoluteMouse.cpp -index bad902c..88d16f0 100644 ---- a/src/SingleReport/SingleAbsoluteMouse.cpp -+++ b/src/SingleReport/SingleAbsoluteMouse.cpp -@@ -29,6 +29,10 @@ static const uint8_t _hidSingleReportDescriptorAbsoluteMouse[] PROGMEM = { - 0x09, 0x02, /* USAGE (Mouse) */ - 0xA1, 0x01, /* COLLECTION (Application) */ - -+ /* Pointer and Physical are required by Apple Recovery */ -+ 0x09, 0x01, /* USAGE (Pointer) */ -+ 0xa1, 0x00, /* COLLECTION (Physical) */ -+ - /* 8 Buttons */ - 0x05, 0x09, /* USAGE_PAGE (Button) */ - 0x19, 0x01, /* USAGE_MINIMUM (Button 1) */ -@@ -58,6 +62,7 @@ static const uint8_t _hidSingleReportDescriptorAbsoluteMouse[] PROGMEM = { - 0x81, 0x06, /* INPUT (Data,Var,Rel) */ - - /* End */ -+ 0xc0, /* END_COLLECTION (Physical) */ - 0xc0 /* END_COLLECTION */ - }; - |