refactor(core): define usage page as uint16_t
Aligns with the HID specification. Usage page values were sometimes declared as uint8_t and sometimes uint16_t. This commit aligns all instances with the HID specification for consistency. PR: #521
This commit is contained in:
parent
feb0d5b90c
commit
1d18900a99
4 changed files with 5 additions and 5 deletions
|
|
@ -18,4 +18,4 @@ int zmk_endpoints_select(enum zmk_endpoint endpoint);
|
|||
int zmk_endpoints_toggle();
|
||||
enum zmk_endpoint zmk_endpoints_selected();
|
||||
|
||||
int zmk_endpoints_send_report(uint8_t usage_page);
|
||||
int zmk_endpoints_send_report(uint16_t usage_page);
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
struct keycode_state_changed {
|
||||
struct zmk_event_header header;
|
||||
uint8_t usage_page;
|
||||
uint16_t usage_page;
|
||||
uint32_t keycode;
|
||||
uint8_t implicit_modifiers;
|
||||
bool state;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue