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:
Nick Brassel
2023-04-09 22:41:32 +10:00
committed by GitHub
parent 441988ef38
commit 5d6d959421
13 changed files with 73 additions and 73 deletions

View File

@@ -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);