diff options
author | Ryan <fauxpark@gmail.com> | 2022-10-11 06:06:26 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-10 20:06:26 +0100 |
commit | c6f1b594a2085e67219bd5f0f7ba7898429d331c (patch) | |
tree | 615d8b6253c8c07beda12676f8cdbdcf2fa837a9 /keyboards/thevankeyboards | |
parent | c87bc929086d41daf804c10d02ec7ee1fca61a4a (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/thevankeyboards')
5 files changed, 10 insertions, 10 deletions
diff --git a/keyboards/thevankeyboards/minivan/keymaps/josjoha/base_numpad.c b/keyboards/thevankeyboards/minivan/keymaps/josjoha/base_numpad.c index b4dd5f3ee3..b54af62011 100644 --- a/keyboards/thevankeyboards/minivan/keymaps/josjoha/base_numpad.c +++ b/keyboards/thevankeyboards/minivan/keymaps/josjoha/base_numpad.c @@ -121,7 +121,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. , TRANS_MIDLEFT # endif - , KC_NUMLOCK , KC_KP_0 + , KC_NUM , KC_KP_0 // ---⬇ // Note anomaly: the additional 'arrow' hardware key is shifted one to the // left, compared to other Base layouts, and so is TRANS_RIGHT This is to @@ -306,7 +306,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. , TRANS_MIDLEFT # endif - , KC_NUMLOCK , KC_KP_0 + , KC_NUM , KC_KP_0 // See comment on the first layout in this file (double handed Base layer), about the next few keys: // ---⬇ diff --git a/keyboards/thevankeyboards/minivan/keymaps/josjoha/keymap.c b/keyboards/thevankeyboards/minivan/keymaps/josjoha/keymap.c index 057561a473..b0c8981a5f 100644 --- a/keyboards/thevankeyboards/minivan/keymaps/josjoha/keymap.c +++ b/keyboards/thevankeyboards/minivan/keymaps/josjoha/keymap.c @@ -1289,7 +1289,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { , TRANS_MIDLEFT # endif - , KC_NUMLOCK , XXXXXXX , KC__YGUI + , KC_NUM , XXXXXXX , KC__YGUI # ifdef TRANSMINIVAN_RIGHTSIDE , TRANS_RIGHT @@ -1381,7 +1381,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { , TRANS_MIDLEFT # endif - , KC_NUMLOCK , KC_KP_0 + , KC_NUM , KC_KP_0 // See comment in ./base_numpad.c on the first layout (double handed Base layer), about the next few keys: // This layer follows that layout Base Numpad. diff --git a/keyboards/thevankeyboards/roadkit/keymaps/flipphone/keymap.c b/keyboards/thevankeyboards/roadkit/keymaps/flipphone/keymap.c index a6fa5ed722..b652261fed 100644 --- a/keyboards/thevankeyboards/roadkit/keymaps/flipphone/keymap.c +++ b/keyboards/thevankeyboards/roadkit/keymaps/flipphone/keymap.c @@ -60,7 +60,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { LT(_ADJUST, KC_SPACE), KC_KP_DOT \ ), [_ADJUST] = LAYOUT_numpad_4x4( /* Adjustments */ - KC_NUMLOCK, TG(_FPHNOISY), TG(_FPH), TG(_NUMPAD), \ + KC_NUM, TG(_FPHNOISY), TG(_FPH), TG(_NUMPAD), \ KC_BSPC, BACKLIT, KC_DEL, \ MACSLEEP, _______, _______, _______, \ _______, MO(_DYN) \ diff --git a/keyboards/thevankeyboards/roadkit/keymaps/mjt/keymap.c b/keyboards/thevankeyboards/roadkit/keymaps/mjt/keymap.c index db5f6c37c8..f958dcd912 100644 --- a/keyboards/thevankeyboards/roadkit/keymaps/mjt/keymap.c +++ b/keyboards/thevankeyboards/roadkit/keymaps/mjt/keymap.c @@ -58,7 +58,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { _______, MO(_DYN) ), [_ADJUST] = LAYOUT_numpad_4x4( /* Adjustments */ - KC_NUMLOCK, MACSLEEP, BACKLIT, _______, \ + KC_NUM, MACSLEEP, BACKLIT, _______, \ KC_BSPC, _______, KC_DEL, \ EXCEL_LOCK, NUMPAD_LOCK, NAVIGATION_LOCK, _______, \ _______, _______ diff --git a/keyboards/thevankeyboards/roadkit/keymaps/singles/keymap.c b/keyboards/thevankeyboards/roadkit/keymaps/singles/keymap.c index 9263ddbf1e..7920b4283d 100644 --- a/keyboards/thevankeyboards/roadkit/keymaps/singles/keymap.c +++ b/keyboards/thevankeyboards/roadkit/keymaps/singles/keymap.c @@ -22,10 +22,10 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_KP_0, KC_KP_DOT, TG(_L1), KC_BSPC ), [_L1] = LAYOUT_ortho_4x4( /* LAYER 1 */ - KC_NUMLOCK, _______, _______, KC_VOLU, \ - _______, KC_UP, _______, KC_VOLD, \ - KC_LEFT, KC_DOWN, KC_RIGHT, _______, \ - _______, _______, _______, _______ + KC_NUM, _______, _______, KC_VOLU, \ + _______, KC_UP, _______, KC_VOLD, \ + KC_LEFT, KC_DOWN, KC_RIGHT, _______, \ + _______, _______, _______, _______ ) }; |