diff options
author | Ryan <fauxpark@gmail.com> | 2022-10-28 23:53:15 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-28 13:53:15 +0100 |
commit | 22be7e79ac6a328ed5a7dc8c4e6f17d749852221 (patch) | |
tree | 49320f3f101270c1c191c387156190b5e5fe688f /quantum/process_keycode | |
parent | 2ff1d852909daaaf94433fab202e7bf94274d67b (diff) |
Normalise Auto Shift keycodes (#18892)
* Normalise Auto Shift keycodes
* Add keycode table to main list
* Add old keycodes to legacy header
Diffstat (limited to 'quantum/process_keycode')
-rw-r--r-- | quantum/process_keycode/process_auto_shift.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/quantum/process_keycode/process_auto_shift.c b/quantum/process_keycode/process_auto_shift.c index 644ad2cbaf..35d4851ee5 100644 --- a/quantum/process_keycode/process_auto_shift.c +++ b/quantum/process_keycode/process_auto_shift.c @@ -375,24 +375,24 @@ bool process_auto_shift(uint16_t keycode, keyrecord_t *record) { } switch (keycode) { - case KC_ASTG: + case AS_TOGG: autoshift_toggle(); break; - case KC_ASON: + case AS_ON: autoshift_enable(); break; - case KC_ASOFF: + case AS_OFF: autoshift_disable(); break; # ifndef AUTO_SHIFT_NO_SETUP - case KC_ASUP: + case AS_UP: autoshift_timeout += 5; break; - case KC_ASDN: + case AS_DOWN: autoshift_timeout -= 5; break; - case KC_ASRP: + case AS_RPT: autoshift_timer_report(); break; # endif |