aboutsummaryrefslogtreecommitdiff
path: root/quantum/pointing_device/pointing_device_auto_mouse.c
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-11-23 10:09:34 +0000
committerGitHub <[email protected]>2024-11-23 10:09:34 +0000
commit4a5bae51cd1f2cbca0ab8c8ae6e15262f8dc5a68 (patch)
tree6dedf92beaa32ddd33476aec43c856f6a37901ed /quantum/pointing_device/pointing_device_auto_mouse.c
parent9e9b4acbde48acbe51fb9ff198be5dce49608ee9 (diff)
downloadqmk_firmware-4a5bae51cd1f2cbca0ab8c8ae6e15262f8dc5a68.tar.gz
qmk_firmware-4a5bae51cd1f2cbca0ab8c8ae6e15262f8dc5a68.zip
[Feature] Add keycode PDF(layer) to set the default layer in EEPROM (#24630)
* [Feature] Add keycode PDF(layer) to set the default layer in EEPROM (#21881) * Apply suggestions from code review Co-authored-by: Nick Brassel <[email protected]> --------- Co-authored-by: Nebuleon <[email protected]> Co-authored-by: Nick Brassel <[email protected]>
Diffstat (limited to 'quantum/pointing_device/pointing_device_auto_mouse.c')
-rw-r--r--quantum/pointing_device/pointing_device_auto_mouse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/quantum/pointing_device/pointing_device_auto_mouse.c b/quantum/pointing_device/pointing_device_auto_mouse.c
index d9f924e258..250351f608 100644
--- a/quantum/pointing_device/pointing_device_auto_mouse.c
+++ b/quantum/pointing_device/pointing_device_auto_mouse.c
@@ -357,6 +357,8 @@ bool process_auto_mouse(uint16_t keycode, keyrecord_t* record) {
}
// DF ---------------------------------------------------------------------------------------------------------
case QK_DEF_LAYER ... QK_DEF_LAYER_MAX:
+ // PDF --------------------------------------------------------------------------------------------------------
+ case QK_PERSISTENT_DEF_LAYER ... QK_PERSISTENT_DEF_LAYER_MAX:
# ifndef NO_ACTION_ONESHOT
// OSL((AUTO_MOUSE_TARGET_LAYER))------------------------------------------------------------------------------
case QK_ONE_SHOT_LAYER ... QK_ONE_SHOT_LAYER_MAX: