summaryrefslogtreecommitdiff
path: root/tmk_core/protocol/lufa
diff options
context:
space:
mode:
authorPriyadi Iman Nurcahyo <priyadi@priyadi.net>2016-12-10 19:40:44 +0700
committerPriyadi Iman Nurcahyo <priyadi@priyadi.net>2016-12-10 19:40:44 +0700
commit434b28603253066a2aa2fd74177121f0981577fb (patch)
tree65350104df845c171891446ccd6e8243aaddd749 /tmk_core/protocol/lufa
parent985a091a739c99736d5b17de5161831488dbc219 (diff)
Allow negative values for mouse movements
Diffstat (limited to 'tmk_core/protocol/lufa')
-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 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;
};
};