mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-07-12 14:26:32 -04:00
Fix up via keymap builds. (#20383)
* Fix up via keymap builds. - Usages of old IS_PRESSED. * Fix up bad code. * Fix up bad code.
This commit is contained in:
parent
6b3fa0f655
commit
70d7874ba9
12 changed files with 71 additions and 71 deletions
|
@ -100,7 +100,7 @@ void encoder_action_register(uint8_t index, bool clockwise) {
|
|||
keyevent_t encoder_event = (keyevent_t) {
|
||||
.key = clockwise ? ENC_CW : ENC_CCW,
|
||||
.pressed = true,
|
||||
.time = timer_read()
|
||||
.time = timer_read(),
|
||||
.type = KEY_EVENT
|
||||
};
|
||||
encoder_state = (clockwise ^ 1) | (clockwise << 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue