diff options
author | innovaker <66737976+innovaker@users.noreply.github.com> | 2020-11-06 20:28:44 +0000 |
---|---|---|
committer | innovaker <66737976+innovaker@users.noreply.github.com> | 2020-11-10 21:00:20 +0000 |
commit | c21897856ba50b79bb7ba5cfcfe0ad7756a20c60 (patch) | |
tree | 994957856040d1aa567721f6d140c091e03d00bc /app/include/zmk/events/keycode-state-changed.h | |
parent | 0031f9bd4db40efc5da3c78cb7d0593d9299210e (diff) |
refactor(app): Replace `HID_EXT_USAGE` with `HID_USAGE`
Simplifies terminology and improves readability.
Diffstat (limited to 'app/include/zmk/events/keycode-state-changed.h')
-rw-r--r-- | app/include/zmk/events/keycode-state-changed.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/include/zmk/events/keycode-state-changed.h b/app/include/zmk/events/keycode-state-changed.h index fe47a0f..7a423a5 100644 --- a/app/include/zmk/events/keycode-state-changed.h +++ b/app/include/zmk/events/keycode-state-changed.h @@ -24,8 +24,8 @@ ZMK_EVENT_DECLARE(keycode_state_changed); static inline struct keycode_state_changed *keycode_state_changed_from_encoded(u32_t encoded, bool pressed) { - u16_t page = HID_EXT_USAGE_PAGE(encoded) & 0xFF; - u16_t id = HID_EXT_USAGE_ID(encoded); + u16_t page = HID_USAGE_PAGE(encoded) & 0xFF; + u16_t id = HID_USAGE_ID(encoded); zmk_mod_flags implicit_mods = SELECT_MODS(encoded); if (!page) { |