summaryrefslogtreecommitdiffstats
path: root/keyboards/planck
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-10-09 14:51:09 +1100
committerGitHub <noreply@github.com>2022-10-09 14:51:09 +1100
commit4b2d71de52b561c77da4bdb2275b1c6bb2415f54 (patch)
treeac426ed6aee862bb16a38c83429a7d64d10a5f8f /keyboards/planck
parent48093000e1a8fbe7fc25a43aea3f75913a634d53 (diff)
Remove legacy international keycodes (#18588)
Diffstat (limited to 'keyboards/planck')
-rw-r--r--keyboards/planck/keymaps/rai-suta/keymap.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/planck/keymaps/rai-suta/keymap.c b/keyboards/planck/keymaps/rai-suta/keymap.c
index bfaf28d8d9..3765f0307b 100644
--- a/keyboards/planck/keymaps/rai-suta/keymap.c
+++ b/keyboards/planck/keymaps/rai-suta/keymap.c
@@ -11,7 +11,7 @@
#define JK_LBRC KC_RBRC // [
#define JK_CLN KC_QUOT // :
#define JK_RBRC KC_BSLS // ]
-#define JK_BSLS KC_RO // Backslash(\)
+#define JK_BSLS JP_BSLS // Backslash(\)
#define JK_DQT S(KC_2) // "
#define JK_AMPR S(KC_6) // &
#define JK_SQT S(KC_7) // '
@@ -20,7 +20,7 @@
#define JK_S0 S(KC_0) // Tilde(~) at IBM 5576-A01 spec
#define JK_EQ S(KC_MINS) // =
#define JK_TLD S(JK_CIRC) // ~
-#define JK_PIPE S(KC_JYEN) // |
+#define JK_PIPE S(JP_YEN) // |
#define JK_GRV S(JK_AT) // `
#define JK_LCBR S(JK_LBRC) // {
#define JK_PLUS S(KC_SCLN) // +
@@ -49,7 +49,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, JK_CLN,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
- KC_ZKHK, KC_KANA, KC_LGUI, KC_LALT, M_MHEN, KC_SPC, KC_SPC, M_HENK, KC_RALT, KC_RGUI, KC_APP, KC_ENT
+ JP_ZKHK, JP_KANA, KC_LGUI, KC_LALT, M_MHEN, KC_SPC, KC_SPC, M_HENK, KC_RALT, KC_RGUI, KC_APP, KC_ENT
),
[KL_LOWER] = LAYOUT_planck_grid(
@@ -61,7 +61,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[KL_RAISE] = LAYOUT_planck_grid(
KC_CAPS, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL,
- _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, JK_CIRC, JK_AT, JK_LBRC, KC_JYEN,
+ _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, JK_CIRC, JK_AT, JK_LBRC, JP_YEN,
_______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, XXXXXXX, KC_COMM, KC_DOT, JK_RBRC, JK_BSLS,
M_DEBUG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
),
@@ -83,11 +83,11 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
switch(id) {
case UM_MHEN: {
- return MACRO_TAP_HOLD_LAYER( record, MACRO(TYPE(KC_MHEN), END), KL_LOWER );
+ return MACRO_TAP_HOLD_LAYER( record, MACRO(TYPE(JP_MHEN), END), KL_LOWER );
} break;
case UM_HENK: {
- return MACRO_TAP_HOLD_LAYER( record, MACRO(TYPE(KC_HENK), END), KL_RAISE );
+ return MACRO_TAP_HOLD_LAYER( record, MACRO(TYPE(JP_HENK), END), KL_RAISE );
} break;
case UM_DEBUG: {