# HG changeset patch # User Yoshiki Yazawa # Date 1549973000 -32400 # Node ID 4bc0df3a693413fc5c1559ab64099d05f60069bd # Parent ef0cbe565d18ea24edfd8be3358b83409442cb27 - assign tab to basic layer - replace CTLTB with CLESC - reassign bootmagic keys for defalut layers - disable unnecessary bootmagic hotkeys diff -r ef0cbe565d18 -r 4bc0df3a6934 config.h --- 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 diff -r ef0cbe565d18 -r 4bc0df3a6934 keymap.c --- 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,\ //|------+------+------+------+------+------+------| |------+------+------+------+------+------+------|