summaryrefslogtreecommitdiff
path: root/hid/lib/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'hid/lib/drivers')
-rw-r--r--hid/lib/drivers/board.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/hid/lib/drivers/board.h b/hid/lib/drivers/board.h
index 50730ee1..2f9bcad7 100644
--- a/hid/lib/drivers/board.h
+++ b/hid/lib/drivers/board.h
@@ -26,9 +26,16 @@
namespace DRIVERS {
+ enum status {
+ RX_DATA = 0,
+ KEYBOARD_ONLINE,
+ MOUSE_ONLINE,
+ };
+
struct Board : public Driver {
using Driver::Driver;
virtual void reset() {}
virtual void periodic() {}
+ virtual void updateStatus(status status) {}
};
}