diff --git a/src/kaleidoscope/hid.cpp b/src/kaleidoscope/hid.cpp index c9f72f8c..26cb5456 100644 --- a/src/kaleidoscope/hid.cpp +++ b/src/kaleidoscope/hid.cpp @@ -135,8 +135,8 @@ void initializeMouse() { Mouse.begin(); } -void moveMouse(signed char x, signed char y, signed char wheel) { - Mouse.move(x, y, wheel); +void moveMouse(signed char x, signed char y, signed char vWheel, signed char hWheel) { + Mouse.move(x, y, vWheel, hWheel); } void clickMouseButtons(uint8_t buttons) { diff --git a/src/kaleidoscope/hid.h b/src/kaleidoscope/hid.h index 3fac4cbe..07dea327 100644 --- a/src/kaleidoscope/hid.h +++ b/src/kaleidoscope/hid.h @@ -34,7 +34,7 @@ void releaseSystemControl(Key mappedKey); void initializeMouse(); -void moveMouse(signed char x, signed char y, signed char wheel); +void moveMouse(signed char x, signed char y, signed char vWheel = 0, signed char hWheel = 0); void clickMouseButtons(uint8_t buttons); void pressMouseButtons(uint8_t buttons); void releaseMouseButtons(uint8_t buttons);