mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-07-20 21:03:50 +08:00
ploopyco: fix bitwise typos in opt_encoder_tiny state definitions (#26288)
Fixes a bug in the state machine definitions within `opt_encoder_tiny.c` that caused severely delayed or unresponsive scrolling.
This commit is contained in:
parent
c638100030
commit
198026cf27
@ -78,9 +78,9 @@ typedef enum {
|
||||
UP_BEGIN_MID,
|
||||
STATE_MASK = 0xf, /* 0b1111 */
|
||||
EMIT_UP = 0x10,
|
||||
EMIT_UP_MID = EMIT_UP & START_MID,
|
||||
EMIT_UP_MID = EMIT_UP | START_MID,
|
||||
EMIT_DOWN = 0x80,
|
||||
EMIT_DOWN_MID = EMIT_DOWN & START_MID,
|
||||
EMIT_DOWN_MID = EMIT_DOWN | START_MID,
|
||||
EMIT_MASK = 0xf0
|
||||
} encoder_state_t;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user