diff options
| author | innovaker <66737976+innovaker@users.noreply.github.com> | 2020-12-19 17:33:15 +0000 |
|---|---|---|
| committer | Pete Johanson <peter@peterjohanson.com> | 2020-12-28 10:20:12 -0500 |
| commit | 87e7c04b00b2cb83540b757a8c909200cdb28255 (patch) | |
| tree | c934a4ea1ae0b8cd47803c07a4effc80b3b04a5e /app/include/zmk/events/keycode_state_changed.h | |
| parent | 05b0d185a8c8c4eb19f63968e54f859a0f3e6484 (diff) | |
refactor(app): replace zmk_mod_flags with zmk_mod_flags_t
Aligns with typedef _t convention.
PR: #531
Diffstat (limited to 'app/include/zmk/events/keycode_state_changed.h')
| -rw-r--r-- | app/include/zmk/events/keycode_state_changed.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/include/zmk/events/keycode_state_changed.h b/app/include/zmk/events/keycode_state_changed.h index 28282b6..d175605 100644 --- a/app/include/zmk/events/keycode_state_changed.h +++ b/app/include/zmk/events/keycode_state_changed.h @@ -27,7 +27,7 @@ static inline struct keycode_state_changed * keycode_state_changed_from_encoded(uint32_t encoded, bool pressed, int64_t timestamp) { uint16_t page = HID_USAGE_PAGE(encoded) & 0xFF; uint16_t id = HID_USAGE_ID(encoded); - zmk_mod_flags implicit_mods = SELECT_MODS(encoded); + zmk_mod_flags_t implicit_mods = SELECT_MODS(encoded); if (!page) { page = HID_USAGE_KEY; |
