summaryrefslogtreecommitdiffstats
path: root/tmk_core
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-12-12 00:46:59 -0500
committerGitHub <noreply@github.com>2016-12-12 00:46:59 -0500
commitf2e5ca25dbdf7589c001bfc6fd2a8f3e70cef038 (patch)
tree55c2f2fd05b324f50ba0aad8e5cbac3c6734845f /tmk_core
parenta30591cd5375e1869e2715ebb3ed1eb23ab98895 (diff)
parent434b28603253066a2aa2fd74177121f0981577fb (diff)
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.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;
};
};