From: Priyadi Iman Nurcahyo Date: Sat, 10 Dec 2016 12:40:44 +0000 (+0700) Subject: Allow negative values for mouse movements X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=434b28603253066a2aa2fd74177121f0981577fb;p=qmk_firmware.git Allow negative values for mouse movements --- 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 { uint16_t consumer; struct __attribute__((packed)) { - uint8_t x, y, scroll, pan; + int8_t x, y, scroll, pan; } mousemove; }; };