diff options
Diffstat (limited to 'hid/lib/drivers/mouse.h')
-rw-r--r-- | hid/lib/drivers/mouse.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/hid/lib/drivers/mouse.h b/hid/lib/drivers/mouse.h index e9092bc5..446fabfe 100644 --- a/hid/lib/drivers/mouse.h +++ b/hid/lib/drivers/mouse.h @@ -28,7 +28,19 @@ namespace DRIVERS { - class Mouse : public Driver { + struct Mouse : public Driver { using Driver::Driver; + virtual void begin() {} + virtual void clear() {} + virtual void sendButtons( + bool left_select, bool left_state, + bool right_select, bool right_state, + bool middle_select, bool middle_state, + bool up_select, bool up_state, + bool down_select, bool down_state) {} + virtual void sendMove(int x, int y) {} + virtual void sendRelative(int x, int y) {} + virtual void sendWheel(int delta_y) {} + virtual bool isOffline() { return false; } }; } |