summaryrefslogtreecommitdiff
path: root/keyboards/converter
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-10-11 06:06:26 +1100
committerGitHub <noreply@github.com>2022-10-10 20:06:26 +0100
commitc6f1b594a2085e67219bd5f0f7ba7898429d331c (patch)
tree615d8b6253c8c07beda12676f8cdbdcf2fa837a9 /keyboards/converter
parentc87bc929086d41daf804c10d02ec7ee1fca61a4a (diff)
Remove legacy keycodes, part 2 (#18660)
* `KC_SYSREQ` -> `KC_SYRQ` And one `KC_ALT_ERASE` -> `KC_ERAS` * `KC_NONUS_BSLASH` -> `KC_NUBS` * `KC_NUMLOCK` -> `KC_NUM` * `KC_CLCK` -> `KC_CAPS` * `KC_SCROLLLOCK` -> `KC_SCRL` * `KC_LBRACKET` -> `KC_LBRC` * `KC_RBRACKET` -> `KC_RBRC` * `KC_CAPSLOCK` -> `KC_CAPS`
Diffstat (limited to 'keyboards/converter')
-rw-r--r--keyboards/converter/modelm_ssk/keymaps/default/keymap.c4
-rw-r--r--keyboards/converter/modelm_ssk/keymaps/tiltowait/keymap.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/converter/modelm_ssk/keymaps/default/keymap.c b/keyboards/converter/modelm_ssk/keymaps/default/keymap.c
index adf557b268..928d745f0d 100644
--- a/keyboards/converter/modelm_ssk/keymaps/default/keymap.c
+++ b/keyboards/converter/modelm_ssk/keymaps/default/keymap.c
@@ -57,14 +57,14 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
uint8_t shift_mods = get_mods() & (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT));
del_mods(MOD_MASK_SHIFT);
- last_num_scroll = KC_NUMLOCK;
+ last_num_scroll = KC_NUM_LOCK;
register_code(last_num_scroll);
toggle_numpad_layer(-1);
/* Reset the shift modifiers */
set_mods(shift_mods);
} else {
- last_num_scroll = KC_SCROLLLOCK;
+ last_num_scroll = KC_SCROLL_LOCK;
register_code(last_num_scroll);
}
} else {
diff --git a/keyboards/converter/modelm_ssk/keymaps/tiltowait/keymap.c b/keyboards/converter/modelm_ssk/keymaps/tiltowait/keymap.c
index 58726fec86..4836ad329e 100644
--- a/keyboards/converter/modelm_ssk/keymaps/tiltowait/keymap.c
+++ b/keyboards/converter/modelm_ssk/keymaps/tiltowait/keymap.c
@@ -68,14 +68,14 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
uint8_t shift_mods = get_mods() & (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT));
set_mods(get_mods() & ~(MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) );
- last_num_scroll = KC_NUMLOCK;
+ last_num_scroll = KC_NUM_LOCK;
register_code(last_num_scroll);
toggle_numlock_layer(-1);
/* Reset the shift modifiers */
set_mods(shift_mods);
} else {
- last_num_scroll = KC_SCROLLLOCK;
+ last_num_scroll = KC_SCROLL_LOCK;
register_code(last_num_scroll);
}
} else {