소스 검색

Merge pull request #944 from priyadi/negmousefix

Allow negative values for mouse movements
Jack Humbert 8 년 전
부모
커밋
f2e5ca25db
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;
     struct __attribute__((packed)) {
-      uint8_t x, y, scroll, pan;
+      int8_t x, y, scroll, pan;
     } mousemove;
   };
 };