summaryrefslogtreecommitdiff
path: root/quantum/pointing_device
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-11-23 10:09:34 +0000
committerGitHub <noreply@github.com>2024-11-23 10:09:34 +0000
commit4a5bae51cd1f2cbca0ab8c8ae6e15262f8dc5a68 (patch)
tree6dedf92beaa32ddd33476aec43c856f6a37901ed /quantum/pointing_device
parent9e9b4acbde48acbe51fb9ff198be5dce49608ee9 (diff)
[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 <nick@tzarc.org> --------- Co-authored-by: Nebuleon <2391500+Nebuleon@users.noreply.github.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'quantum/pointing_device')
-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) {
357 } 357 }
358 // DF --------------------------------------------------------------------------------------------------------- 358 // DF ---------------------------------------------------------------------------------------------------------
359 case QK_DEF_LAYER ... QK_DEF_LAYER_MAX: 359 case QK_DEF_LAYER ... QK_DEF_LAYER_MAX:
360 // PDF --------------------------------------------------------------------------------------------------------
361 case QK_PERSISTENT_DEF_LAYER ... QK_PERSISTENT_DEF_LAYER_MAX:
360# ifndef NO_ACTION_ONESHOT 362# ifndef NO_ACTION_ONESHOT
361 // OSL((AUTO_MOUSE_TARGET_LAYER))------------------------------------------------------------------------------ 363 // OSL((AUTO_MOUSE_TARGET_LAYER))------------------------------------------------------------------------------
362 case QK_ONE_SHOT_LAYER ... QK_ONE_SHOT_LAYER_MAX: 364 case QK_ONE_SHOT_LAYER ... QK_ONE_SHOT_LAYER_MAX: