From 82bfceccf681801c041251541a1f4b53c13fe187 Mon Sep 17 00:00:00 2001 From: Florian Didron Date: Tue, 9 Sep 2025 09:49:55 +0700 Subject: [PATCH] fix(automouse): make sure KC_NO do not fire layer 0 mappings on automouse layer (#419) --- quantum/pointing_device/pointing_device_auto_mouse.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/quantum/pointing_device/pointing_device_auto_mouse.c b/quantum/pointing_device/pointing_device_auto_mouse.c index 0f227d8435..41df31f976 100644 --- a/quantum/pointing_device/pointing_device_auto_mouse.c +++ b/quantum/pointing_device/pointing_device_auto_mouse.c @@ -343,7 +343,8 @@ bool process_auto_mouse(uint16_t keycode, keyrecord_t* record) { if (!(AUTO_MOUSE_ENABLED)) return true; switch (keycode) { - // Skip Mod keys and layer lock to avoid layer reset + // Skip Mod keys, KC_NO, and layer lock to avoid layer reset + case KC_NO: case KC_LEFT_CTRL ... KC_RIGHT_GUI: case QK_MODS ... QK_MODS_MAX: case QK_LLCK: