mirror of
https://github.com/zsa/qmk_firmware.git
synced 2026-01-10 07:33:04 +00:00
fix(automouse): mouse keys not being flagged properly in process_automouse
This commit is contained in:
@@ -427,7 +427,7 @@ bool process_auto_mouse(uint16_t keycode, keyrecord_t* record) {
|
||||
// skip on no event
|
||||
if (IS_NOEVENT(record->event)) break;
|
||||
// check if keyrecord is mousekey
|
||||
if (is_mouse_record(keycode, record) && is_auto_mouse_active()) {
|
||||
if (is_mouse_record(keycode, record)) {
|
||||
auto_mouse_keyevent(record->event.pressed);
|
||||
} else if (!is_auto_mouse_active()) {
|
||||
// all non-mousekey presses restart delay timer and reset status
|
||||
|
||||
Reference in New Issue
Block a user