Mercurial > crkbdyaz
changeset 3:4bc0df3a6934 draft
- assign tab to basic layer
- replace CTLTB with CLESC
- reassign bootmagic keys for defalut layers
- disable unnecessary bootmagic hotkeys
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Tue, 12 Feb 2019 21:03:20 +0900 |
parents | ef0cbe565d18 |
children | 7e09639847e1 |
files | config.h keymap.c |
diffstat | 2 files changed, 16 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/config.h Tue Feb 12 11:26:56 2019 +0900 +++ b/config.h Tue Feb 12 21:03:20 2019 +0900 @@ -42,3 +42,14 @@ #define RGBLIGHT_HUE_STEP 10 #define RGBLIGHT_SAT_STEP 17 #define RGBLIGHT_VAL_STEP 17 + +#define BOOTMAGIC_KEY_DEFAULT_LAYER_0 KC_Q +#define BOOTMAGIC_KEY_DEFAULT_LAYER_1 KC_W +#define BOOTMAGIC_KEY_DEFAULT_LAYER_2 KC_E +#define BOOTMAGIC_KEY_SWAP_CONTROL_CAPSLOCK KC_NO +#define BOOTMAGIC_KEY_CAPSLOCK_TO_CONTROL KC_NO +#define BOOTMAGIC_KEY_SWAP_LALT_LGUI KC_NO +#define BOOTMAGIC_KEY_SWAP_RALT_RGUI KC_NO +#define BOOTMAGIC_KEY_NO_GUI KC_NO +#define BOOTMAGIC_KEY_SWAP_GRAVE_ESC KC_NO +#define BOOTMAGIC_KEY_SWAP_BACKSLASH_BACKSPACE KC_NO
--- a/keymap.c Tue Feb 12 11:26:56 2019 +0900 +++ b/keymap.c Tue Feb 12 21:03:20 2019 +0900 @@ -65,7 +65,7 @@ #define KC_LVAD RGB_VAD #define KC_LMOD RGB_MOD #define KC_CTLTB CTL_T(KC_TAB) -#define KC_CTLESC CTL_T(KC_ESC) +#define KC_CLESC CTL_T(KC_ESC) #define KC_GUIEI GUI_T(KC_LANG2) #define KC_ALTKN ALT_T(KC_LANG1) @@ -88,9 +88,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [_QWERTY] = LAYOUT_kc( \ //,-----------------------------------------. ,-----------------------------------------. - ESC, Q, W, E, R, T, Y, U, I, O, P, MINS,\ + TAB, Q, W, E, R, T, Y, U, I, O, P, MINS,\ //|------+------+------+------+------+------| |------+------+------+------+------+------| - CTLTB, A, S, D, F, G, H, J, K, L, SCLN, QUOT,\ + CLESC, A, S, D, F, G, H, J, K, L, SCLN, QUOT,\ //|------+------+------+------+------+------| |------+------+------+------+------+------| LSFT, Z, X, C, V, B, N, M, COMM, DOT, SLSH, RSFT,\ //|------+------+------+------+------+------+------| |------+------+------+------+------+------+------| @@ -100,9 +100,9 @@ [_MAC] = LAYOUT_kc( \ //,-----------------------------------------. ,-----------------------------------------. - ESC, Q, W, E, R, T, Y, U, I, O, P, MINS,\ + TAB, Q, W, E, R, T, Y, U, I, O, P, MINS,\ //|------+------+------+------+------+------| |------+------+------+------+------+------| - CTLTB, A, S, D, F, G, H, J, K, L, SCLN, QUOT,\ + CLESC, A, S, D, F, G, H, J, K, L, SCLN, QUOT,\ //|------+------+------+------+------+------| |------+------+------+------+------+------| LSFT, Z, X, C, V, B, N, M, COMM, DOT, SLSH, RSFT,\ //|------+------+------+------+------+------+------| |------+------+------+------+------+------+------|