From 1d18900a994b6a80e1f74d43eb0497c35e9e2f78 Mon Sep 17 00:00:00 2001 From: innovaker <66737976+innovaker@users.noreply.github.com> Date: Thu, 17 Dec 2020 19:36:19 +0000 Subject: 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 --- app/include/zmk/events/keycode_state_changed.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/include/zmk/events') diff --git a/app/include/zmk/events/keycode_state_changed.h b/app/include/zmk/events/keycode_state_changed.h index d175605..85b792b 100644 --- a/app/include/zmk/events/keycode_state_changed.h +++ b/app/include/zmk/events/keycode_state_changed.h @@ -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; -- cgit v1.2.3