diff options
| author | Priyadi Iman Nurcahyo <priyadi@priyadi.net> | 2016-12-10 19:40:44 +0700 |
|---|---|---|
| committer | Priyadi Iman Nurcahyo <priyadi@priyadi.net> | 2016-12-10 19:40:44 +0700 |
| commit | 434b28603253066a2aa2fd74177121f0981577fb (patch) | |
| tree | 65350104df845c171891446ccd6e8243aaddd749 /tmk_core | |
| parent | 985a091a739c99736d5b17de5161831488dbc219 (diff) | |
| download | qmk_firmware-434b28603253066a2aa2fd74177121f0981577fb.tar.gz qmk_firmware-434b28603253066a2aa2fd74177121f0981577fb.zip | |
Allow negative values for mouse movements
Diffstat (limited to 'tmk_core')
| -rw-r--r-- | tmk_core/protocol/lufa/adafruit_ble.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/protocol/lufa/adafruit_ble.cpp b/tmk_core/protocol/lufa/adafruit_ble.cpp index 37194e77a..fd6edd42c 100644 --- a/tmk_core/protocol/lufa/adafruit_ble.cpp +++ b/tmk_core/protocol/lufa/adafruit_ble.cpp | |||
| @@ -86,7 +86,7 @@ struct queue_item { | |||
| 86 | 86 | ||
| 87 | uint16_t consumer; | 87 | uint16_t consumer; |
| 88 | struct __attribute__((packed)) { | 88 | struct __attribute__((packed)) { |
| 89 | uint8_t x, y, scroll, pan; | 89 | int8_t x, y, scroll, pan; |
| 90 | } mousemove; | 90 | } mousemove; |
| 91 | }; | 91 | }; |
| 92 | }; | 92 | }; |
