summaryrefslogtreecommitdiff
path: root/hid/src/proto.h
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-12-24 00:51:48 +0300
committerDevaev Maxim <[email protected]>2020-12-24 00:51:48 +0300
commit5bcf2df687fbf90d381c019b46d00091bde14308 (patch)
tree010943e166975b2e576ed8982cd7b8a29e8362fb /hid/src/proto.h
parent42475809fcafef12d39a12b7dd2be49aea9d9b6f (diff)
fixed pinout, refactoring
Diffstat (limited to 'hid/src/proto.h')
-rw-r--r--hid/src/proto.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/hid/src/proto.h b/hid/src/proto.h
index cd0ab46b..b6ba2d73 100644
--- a/hid/src/proto.h
+++ b/hid/src/proto.h
@@ -63,17 +63,17 @@ namespace PROTO {
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;
+ const uint8_t USB_CONNECTABLE = 0b10000000;
+ const uint8_t USB_CONNECTED = 0b01000000;
}
namespace CMD {
- const uint8_t PING = 0x01;
- 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;
+ const uint8_t PING = 0x01;
+ const uint8_t REPEAT = 0x02;
+ const uint8_t SET_KEYBOARD = 0x03;
+ const uint8_t SET_MOUSE = 0x04;
+ const uint8_t SET_USB_CONNECTED = 0x05;
+ const uint8_t CLEAR_HID = 0x10;
namespace KEYBOARD {
const uint8_t KEY = 0x11;