diff options
author | Devaev Maxim <[email protected]> | 2021-07-14 13:23:41 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2021-07-14 13:23:41 +0300 |
commit | 937d8320f84f48572900dc495a80ac09e04ab413 (patch) | |
tree | 669de2f9f5f9c08ef6218b94e9c8cb8add8df6de /hid/src | |
parent | f641afcc6be81145b542fcdb4aa7096fca29d2db (diff) |
moved some patches to upstream
Diffstat (limited to 'hid/src')
-rw-r--r-- | hid/src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hid/src/main.cpp b/hid/src/main.cpp index 118e0d4e..ca00f7dc 100644 --- a/hid/src/main.cpp +++ b/hid/src/main.cpp @@ -212,8 +212,8 @@ static void _cmdMouseMoveEvent(const uint8_t *data) { // 4 bytes // See /kvmd/apps/otg/hid/keyboard.py for details if (_usb_mouse_abs) { _usb_mouse_abs->sendMove( - (PROTO::merge8_int(data[0], data[1]) + 32768) / 2, - (PROTO::merge8_int(data[2], data[3]) + 32768) / 2 + PROTO::merge8_int(data[0], data[1]), + PROTO::merge8_int(data[2], data[3]) ); } } |