]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Allow negative values for mouse movements
authorPriyadi Iman Nurcahyo <priyadi@priyadi.net>
Sat, 10 Dec 2016 12:40:44 +0000 (19:40 +0700)
committerPriyadi Iman Nurcahyo <priyadi@priyadi.net>
Sat, 10 Dec 2016 12:40:44 +0000 (19:40 +0700)
tmk_core/protocol/lufa/adafruit_ble.cpp

index 37194e77a98ec7ece183dee4610c7952044e1a5e..fd6edd42cfdca65aba802216ec80cfbdacd02386 100644 (file)
@@ -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;
   };
 };