diff options
author | Ryan <fauxpark@gmail.com> | 2022-10-09 14:51:09 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-09 14:51:09 +1100 |
commit | 4b2d71de52b561c77da4bdb2275b1c6bb2415f54 (patch) | |
tree | ac426ed6aee862bb16a38c83429a7d64d10a5f8f /keyboards/numatreus | |
parent | 48093000e1a8fbe7fc25a43aea3f75913a634d53 (diff) |
Remove legacy international keycodes (#18588)
Diffstat (limited to 'keyboards/numatreus')
-rw-r--r-- | keyboards/numatreus/keymaps/hdbx/keymap.c | 6 | ||||
-rw-r--r-- | keyboards/numatreus/keymaps/like_jis/keymap.c | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/keyboards/numatreus/keymaps/hdbx/keymap.c b/keyboards/numatreus/keymaps/hdbx/keymap.c index a221f9fe19..628567ad0c 100644 --- a/keyboards/numatreus/keymaps/hdbx/keymap.c +++ b/keyboards/numatreus/keymaps/hdbx/keymap.c @@ -39,8 +39,8 @@ enum custom_keycodes { // Use Dynamic macro // Fillers to make layering more clear -#define LOWER LT(_LOWER, KC_MHEN) // タップで無変換 ホールドでLower -#define RAISE LT(_RAISE, KC_HENK) // タップで変換 ホールドでRaise +#define LOWER LT(_LOWER, JP_MHEN) // タップで無変換 ホールドでLower +#define RAISE LT(_RAISE, JP_HENK) // タップで変換 ホールドでRaise #define GUI_ESC GUI_T(KC_ESC) // タップでESC ホールドでGUI #define SFT_BS SFT_T(KC_BSPC) // タップでBackSpace ホールドでSHIFT #define CTL_ENT CTL_T(KC_ENT) // タップでEnter ホールドでCTRL @@ -104,7 +104,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [_LOWER] = LAYOUT( KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_7, KC_8, KC_9, KC_DOT, KC_BSPC, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_4, KC_5, KC_6, KC_PPLS, KC_PAST, - KC_ZKHK, KC_SLCK, KC_PAUS, KC_F11, KC_F12, KC_1, KC_2, KC_3, KC_PMNS, KC_PSLS, + JP_ZKHK, KC_SLCK, KC_PAUS, KC_F11, KC_F12, KC_1, KC_2, KC_3, KC_PMNS, KC_PSLS, KC_LALT, KC_LGUI, JP_GRV, SFT_DEL, _______, KC_LCTL, SFT_SPC, _______, KC_0, KC_COMM, JP_EQL, KC_ENT ), diff --git a/keyboards/numatreus/keymaps/like_jis/keymap.c b/keyboards/numatreus/keymaps/like_jis/keymap.c index 24c554d20c..dfddcd0d9f 100644 --- a/keyboards/numatreus/keymaps/like_jis/keymap.c +++ b/keyboards/numatreus/keymaps/like_jis/keymap.c @@ -58,7 +58,7 @@ enum tapdances{ qk_tap_dance_action_t tap_dance_actions[] = { [TD_CODO] = ACTION_TAP_DANCE_DOUBLE(KC_COMM, KC_DOT), - // [TD_MNUB] = ACTION_TAP_DANCE_DOUBLE(KC_MINS, LSFT(KC_RO)), + // [TD_MNUB] = ACTION_TAP_DANCE_DOUBLE(KC_MINS, LSFT(JP_BSLS)), }; const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { @@ -88,11 +88,11 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [_LOWER] = LAYOUT( //,----------------------------------. ,----------------------------------. - KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_MINS, KC_EQL, KC_JYEN, KC_LBRC, KC_RBRC, + KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_MINS, KC_EQL, JP_YEN, KC_LBRC, KC_RBRC, //|------+------+------+------+------| |------+------+------+------+------| KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, XXXXXXX, XXXXXXX, KC_SCLN, KC_QUOT, KC_BSLS, //|------+------+------+------+------| |------+------+------+------+------| - KC_11SF, KC_F12, KC_DLNP, KANJI, KC_ENT, XXXXXXX, KC_COMM, KC_DOT, KC_SLSH, KC_RO, + KC_11SF, KC_F12, KC_DLNP, KANJI, KC_ENT, XXXXXXX, KC_COMM, KC_DOT, KC_SLSH, JP_BSLS, //|------+------+------+------+------|------+------+------+------+------+------+------| KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_DEL, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS //|------+------+------+------+-------------+------+------+------+------+------+------| @@ -156,12 +156,12 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { case KANJI: if (record->event.pressed) { if (keymap_config.swap_lalt_lgui == false) { - register_code(KC_LANG2); + register_code(KC_LNG2); } else { tap_code16(A(KC_GRV)); } } else { - unregister_code(KC_LANG2); + unregister_code(KC_LNG2); } break; #ifdef RGBLIGHT_ENABLE |