diff options
author | Devaev Maxim <[email protected]> | 2020-12-18 19:46:19 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-12-18 19:46:19 +0300 |
commit | b3a6b336410cde3e55ce18e409df68745e640764 (patch) | |
tree | 64054208caabf4bca0ab216b2bbebdd645e03d11 /hid/src/proto.h | |
parent | da10cd91df4387b6338ed515e78a412d530a6e10 (diff) |
aum firmware
Diffstat (limited to 'hid/src/proto.h')
-rw-r--r-- | hid/src/proto.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/hid/src/proto.h b/hid/src/proto.h index 38462ee5..cd0ab46b 100644 --- a/hid/src/proto.h +++ b/hid/src/proto.h @@ -60,9 +60,11 @@ namespace PROTO { }; }; - namespace FEATURES { - const uint8_t HAS_USB = 0b00000001; - const uint8_t HAS_PS2 = 0b00000010; + namespace PARAMS { + const uint8_t HAS_USB = 0b00000001; + const uint8_t HAS_PS2 = 0b00000010; + const uint8_t USB_PLUGGABLE = 0b10000000; + const uint8_t USB_PLUGGED = 0b01000000; } namespace CMD { @@ -70,6 +72,7 @@ namespace PROTO { const uint8_t REPEAT = 0x02; const uint8_t SET_KEYBOARD = 0x03; const uint8_t SET_MOUSE = 0x04; + const uint8_t SET_USB_PLUGGED = 0x05; const uint8_t CLEAR_HID = 0x10; namespace KEYBOARD { |