diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-12-12 00:46:59 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-12 00:46:59 -0500 |
commit | f2e5ca25dbdf7589c001bfc6fd2a8f3e70cef038 (patch) | |
tree | 55c2f2fd05b324f50ba0aad8e5cbac3c6734845f /tmk_core | |
parent | a30591cd5375e1869e2715ebb3ed1eb23ab98895 (diff) | |
parent | 434b28603253066a2aa2fd74177121f0981577fb (diff) | |
download | qmk_firmware-f2e5ca25dbdf7589c001bfc6fd2a8f3e70cef038.tar.gz qmk_firmware-f2e5ca25dbdf7589c001bfc6fd2a8f3e70cef038.zip |
Merge pull request #944 from priyadi/negmousefix
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 37194e77a9..fd6edd42cf 100644 --- a/tmk_core/protocol/lufa/adafruit_ble.cpp +++ b/tmk_core/protocol/lufa/adafruit_ble.cpp @@ -86,7 +86,7 @@ struct queue_item { uint16_t consumer; struct __attribute__((packed)) { - uint8_t x, y, scroll, pan; + int8_t x, y, scroll, pan; } mousemove; }; }; |