summaryrefslogtreecommitdiffstats
path: root/keyboards/planck/keymaps/tehwalris
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-10-14 04:28:14 +1100
committerGitHub <noreply@github.com>2022-10-13 18:28:14 +0100
commit5629ba18077ee5dcde72e497ddf46d848817dd5c (patch)
tree36e95fe41e63586903b220461d8c7d623f069c61 /keyboards/planck/keymaps/tehwalris
parent474c0bc8a2886077fa8dbdb4a8a7a57f4e1291d1 (diff)
Remove legacy keycodes, part 4 (#18683)
* `KC_PGDOWN` -> `KC_PGDN` * `KC_PSCREEN` -> `KC_PSCR` * `KC_SCOLON` -> `KC_SCLN` * `KC_BSLASH` -> `KC_BSLS` * `KC_BSPACE` -> `KC_BSPC`
Diffstat (limited to 'keyboards/planck/keymaps/tehwalris')
-rw-r--r--keyboards/planck/keymaps/tehwalris/keymap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/planck/keymaps/tehwalris/keymap.c b/keyboards/planck/keymaps/tehwalris/keymap.c
index f2a9fd909a..243748cfec 100644
--- a/keyboards/planck/keymaps/tehwalris/keymap.c
+++ b/keyboards/planck/keymaps/tehwalris/keymap.c
@@ -85,8 +85,8 @@ static bool is_right_shift_pressed = false;
// This will only work on linux with xkbmap option "compose:prsc"
void press_umlaut_of(uint16_t keycode) {
bool is_shift_pressed = (is_left_shift_pressed || is_right_shift_pressed);
- register_code(KC_PSCREEN);
- unregister_code(KC_PSCREEN);
+ register_code(KC_PRINT_SCREEN);
+ unregister_code(KC_PRINT_SCREEN);
if (!is_shift_pressed) {
register_code(KC_LSFT);
}