Ver Fonte

Allow negative values for mouse movements

Priyadi Iman Nurcahyo há 9 anos atrás
pai
commit
434b286032
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      tmk_core/protocol/lufa/adafruit_ble.cpp

+ 1 - 1
tmk_core/protocol/lufa/adafruit_ble.cpp

@@ -86,7 +86,7 @@ struct queue_item {
 
 
     uint16_t consumer;
     uint16_t consumer;
     struct __attribute__((packed)) {
     struct __attribute__((packed)) {
-      uint8_t x, y, scroll, pan;
+      int8_t x, y, scroll, pan;
     } mousemove;
     } mousemove;
   };
   };
 };
 };