summaryrefslogtreecommitdiff
path: root/keyboards/hhkb
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/hhkb
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/hhkb')
-rw-r--r--keyboards/hhkb/rn42/rn42_task.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/hhkb/rn42/rn42_task.c b/keyboards/hhkb/rn42/rn42_task.c
index 3a95ee0ac1..26dacbd650 100644
--- a/keyboards/hhkb/rn42/rn42_task.c
+++ b/keyboards/hhkb/rn42/rn42_task.c
@@ -446,16 +446,16 @@ static uint8_t code2asc(uint8_t code)
case KC_0: return (shifted ? ')' : '0');
case KC_ENTER: return '\n';
case KC_ESCAPE: return 0x1B;
- case KC_BSPACE: return '\b';
+ case KC_BACKSPACE: return '\b';
case KC_TAB: return '\t';
case KC_SPACE: return ' ';
case KC_MINUS: return (shifted ? '_' : '-');
case KC_EQUAL: return (shifted ? '+' : '=');
case KC_LEFT_BRACKET: return (shifted ? '{' : '[');
case KC_RIGHT_BRACKET: return (shifted ? '}' : ']');
- case KC_BSLASH: return (shifted ? '|' : '\\');
+ case KC_BACKSLASH: return (shifted ? '|' : '\\');
case KC_NONUS_HASH: return (shifted ? '|' : '\\');
- case KC_SCOLON: return (shifted ? ':' : ';');
+ case KC_SEMICOLON: return (shifted ? ':' : ';');
case KC_QUOTE: return (shifted ? '"' : '\'');
case KC_GRAVE: return (shifted ? '~' : '`');
case KC_COMMA: return (shifted ? '<' : ',');