diff options
author | Florian Didron <fd@librem.one> | 2019-12-04 19:15:04 +0900 |
---|---|---|
committer | Florian Didron <fdidron@users.noreply.github.com> | 2019-12-06 08:20:51 +0900 |
commit | ac7de6603c8a6f08aaddcc6ae0d278ef53aa7f30 (patch) | |
tree | a51a6bd431d848279d8c03357ac05ecfb25312ce /tmk_core/common/webusb.h | |
parent | f7408111c74e037f863224027e362f9e386644e0 (diff) |
feat: add get layer command
Diffstat (limited to 'tmk_core/common/webusb.h')
-rw-r--r-- | tmk_core/common/webusb.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tmk_core/common/webusb.h b/tmk_core/common/webusb.h index 561a1f52dd..18e884f1ab 100644 --- a/tmk_core/common/webusb.h +++ b/tmk_core/common/webusb.h @@ -12,6 +12,7 @@ void webusb_receive(uint8_t *data, uint8_t length); void webusb_send(uint8_t *data, uint8_t length); +void webusb_layer_event(void); void webusb_error(uint8_t); void webusb_set_pairing_state(void); @@ -30,7 +31,8 @@ enum Webusb_Status_Code { enum Webusb_Command_Code { WEBUSB_CMD_PAIR, - WEBUSB_GET_FW_VERSION + WEBUSB_GET_FW_VERSION, + WEBUSB_GET_LAYER }; enum Webusb_Event_Code { |