From 3ba15e824e319926c810414b44fb30a7d98419c3 Mon Sep 17 00:00:00 2001 From: tomaszduda23 Date: Fri, 22 Jul 2022 14:14:38 +0900 Subject: Stm32 init (#100) --- hid/lib/drivers/mouse.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'hid/lib/drivers') diff --git a/hid/lib/drivers/mouse.h b/hid/lib/drivers/mouse.h index 446fabfe..e0f4b151 100644 --- a/hid/lib/drivers/mouse.h +++ b/hid/lib/drivers/mouse.h @@ -31,6 +31,10 @@ namespace DRIVERS { struct Mouse : public Driver { using Driver::Driver; virtual void begin() {} + + /** + * Release all keys + */ virtual void clear() {} virtual void sendButtons( bool left_select, bool left_state, @@ -42,5 +46,6 @@ namespace DRIVERS { virtual void sendRelative(int x, int y) {} virtual void sendWheel(int delta_y) {} virtual bool isOffline() { return false; } + virtual void periodic() {} }; } -- cgit v1.2.3