diff options
Diffstat (limited to 'hid/lib/drivers')
-rw-r--r-- | hid/lib/drivers/board.h | 7 |
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) {} }; } |