diff --git a/src/kaleidoscope/hid.cpp b/src/kaleidoscope/hid.cpp index c9f72f8c..9658e0c9 100644 --- a/src/kaleidoscope/hid.cpp +++ b/src/kaleidoscope/hid.cpp @@ -151,6 +151,14 @@ void releaseMouseButtons(uint8_t buttons) { Mouse.release(buttons); } +void releaseAllMouseButtons(void) { + Mouse.releaseAll(); +} + +void sendMouseReport(void) { + Mouse.sendReport(); +} + /** SingleAbsolute mouse (grapahics tablet) events */ void initializeAbsoluteMouse() { diff --git a/src/kaleidoscope/hid.h b/src/kaleidoscope/hid.h index 3fac4cbe..bc5c6844 100644 --- a/src/kaleidoscope/hid.h +++ b/src/kaleidoscope/hid.h @@ -38,6 +38,8 @@ void moveMouse(signed char x, signed char y, signed char wheel); void clickMouseButtons(uint8_t buttons); void pressMouseButtons(uint8_t buttons); void releaseMouseButtons(uint8_t buttons); +void releaseAllMouseButtons(void); +void sendMouseReport(void); void initializeAbsoluteMouse();