diff options
Diffstat (limited to 'quantum/quantum.h')
-rw-r--r-- | quantum/quantum.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/quantum/quantum.h b/quantum/quantum.h index 6927884e2f..d0829629f5 100644 --- a/quantum/quantum.h +++ b/quantum/quantum.h @@ -185,11 +185,20 @@ extern layer_state_t layer_state; #endif #ifdef DIP_SWITCH_ENABLE -# include "dip_switch.h" + #include "dip_switch.h" +#endif + + +#ifdef WEBUSB_ENABLE +# include "webusb.h" +#endif + +#ifdef ORYX_ENABLE +# include "oryx.h" #endif #ifdef DYNAMIC_MACRO_ENABLE -# include "process_dynamic_macro.h" + #include "process_dynamic_macro.h" #endif #ifdef DYNAMIC_KEYMAP_ENABLE @@ -204,6 +213,7 @@ extern layer_state_t layer_state; # include "wpm.h" #endif + #ifdef USBPD_ENABLE # include "usbpd.h" #endif @@ -250,6 +260,9 @@ void led_set_kb(uint8_t usb_led); bool led_update_user(led_t led_state); bool led_update_kb(led_t led_state); +bool webusb_receive_kb(uint8_t *data, uint8_t length); +bool webusb_receive_user(uint8_t *data, uint8_t length); + const char *get_numeric_str(char *buf, size_t buf_len, uint32_t curr_num, char curr_pad); const char *get_u8_str(uint8_t curr_num, char curr_pad); const char *get_u16_str(uint16_t curr_num, char curr_pad); |