summaryrefslogtreecommitdiff
path: root/tmk_core/protocol
diff options
context:
space:
mode:
authorPriyadi Iman Nurcahyo2016-12-10 19:40:44 +0700
committerPriyadi Iman Nurcahyo2016-12-10 19:40:44 +0700
commit434b28603253066a2aa2fd74177121f0981577fb (patch)
tree65350104df845c171891446ccd6e8243aaddd749 /tmk_core/protocol
parent985a091a739c99736d5b17de5161831488dbc219 (diff)
Allow negative values for mouse movements
Diffstat (limited to 'tmk_core/protocol')
-rw-r--r--tmk_core/protocol/lufa/adafruit_ble.cpp2
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 {
uint16_t consumer;
struct __attribute__((packed)) {
- uint8_t x, y, scroll, pan;
+ int8_t x, y, scroll, pan;
} mousemove;
};
};