summaryrefslogtreecommitdiffstats
path: root/users/dennytom/chording_engine
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 /users/dennytom/chording_engine
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 'users/dennytom/chording_engine')
-rw-r--r--users/dennytom/chording_engine/engine.part.14
-rw-r--r--users/dennytom/chording_engine/tests/minunit.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/users/dennytom/chording_engine/engine.part.1 b/users/dennytom/chording_engine/engine.part.1
index a2b39284f5..e4f1b260dc 100644
--- a/users/dennytom/chording_engine/engine.part.1
+++ b/users/dennytom/chording_engine/engine.part.1
@@ -91,10 +91,10 @@ bool handle_US_ANSI_shifted_keys(int16_t keycode, bool in) {
regular_keycode = KC_RIGHT_BRACKET;
break;
case KC_PIPE:
- regular_keycode = KC_BSLASH;
+ regular_keycode = KC_BACKSLASH;
break;
case KC_COLON:
- regular_keycode = KC_SCOLON;
+ regular_keycode = KC_SEMICOLON;
break;
case KC_DOUBLE_QUOTE:
regular_keycode = KC_QUOTE;
diff --git a/users/dennytom/chording_engine/tests/minunit.h b/users/dennytom/chording_engine/tests/minunit.h
index c7ddc9e444..d3f51bfb4f 100644
--- a/users/dennytom/chording_engine/tests/minunit.h
+++ b/users/dennytom/chording_engine/tests/minunit.h
@@ -117,9 +117,9 @@ enum keycodes {
KC_RIGHT_CURLY_BRACE,
KC_RIGHT_BRACKET,
KC_PIPE,
- KC_BSLASH,
+ KC_BACKSLASH,
KC_COLON,
- KC_SCOLON,
+ KC_SEMICOLON,
KC_DOUBLE_QUOTE,
KC_QUOTE,
KC_LEFT_ANGLE_BRACKET,