From 5629ba18077ee5dcde72e497ddf46d848817dd5c Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 14 Oct 2022 04:28:14 +1100 Subject: 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` --- keyboards/planck/keymaps/tehwalris/keymap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'keyboards/planck/keymaps/tehwalris') 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); } -- cgit v1.2.3