summaryrefslogtreecommitdiff
path: root/hid/lib/drivers/mouse.h
diff options
context:
space:
mode:
Diffstat (limited to 'hid/lib/drivers/mouse.h')
-rw-r--r--hid/lib/drivers/mouse.h5
1 files changed, 5 insertions, 0 deletions
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() {}
};
}