mirror of
https://github.com/zsa/qmk_firmware.git
synced 2026-01-09 23:22:30 +00:00
fix(automouse): make sure KC_NO do not fire layer 0 mappings on automouse layer (#419)
This commit is contained in:
@@ -343,7 +343,8 @@ bool process_auto_mouse(uint16_t keycode, keyrecord_t* record) {
|
|||||||
if (!(AUTO_MOUSE_ENABLED)) return true;
|
if (!(AUTO_MOUSE_ENABLED)) return true;
|
||||||
|
|
||||||
switch (keycode) {
|
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 KC_LEFT_CTRL ... KC_RIGHT_GUI:
|
||||||
case QK_MODS ... QK_MODS_MAX:
|
case QK_MODS ... QK_MODS_MAX:
|
||||||
case QK_LLCK:
|
case QK_LLCK:
|
||||||
|
|||||||
Reference in New Issue
Block a user