mouse support

This commit is contained in:
Devaev Maxim
2018-08-01 17:31:23 +03:00
parent cb8e5efbc7
commit 9a5c583f80
9 changed files with 230 additions and 73 deletions

View File

@@ -42,7 +42,6 @@ INLINE void cmdMouseMoveEvent() { // 4 bytes
x |= (int)CMD_SERIAL.read();
int y = (int)CMD_SERIAL.read() << 8;
y |= (int)CMD_SERIAL.read();
AbsoluteMouse.moveTo(0, 0);
AbsoluteMouse.moveTo(x, y);
}