forked from kofal.net/zmk
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:
@@ -130,7 +130,7 @@ static int send_consumer_report() {
|
||||
}
|
||||
}
|
||||
|
||||
int zmk_endpoints_send_report(uint8_t usage_page) {
|
||||
int zmk_endpoints_send_report(uint16_t usage_page) {
|
||||
|
||||
LOG_DBG("usage page 0x%02X", usage_page);
|
||||
switch (usage_page) {
|
||||
|
||||
Reference in New Issue
Block a user