1
0
Fork 0
qmk_firmware/keyboards/planck/keymaps/altgr/qwerty.h

65 lines
4.4 KiB
C
Raw Normal View History

// const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
// ...................................................................... Qwerty
#ifdef QWERTY
// ,-----------------------------------------------------------------------------------.
// | Q | W | E | R | T | ^Alt | ^GUI | Y | U | I | O | P |
// |------+------+------+------+------+-------------+------+------+------+------+------|
// | A | S | D | F | G | ↑Alt | ↑GUI | H | J | K | L | ; |
// |------+------+------+------+------+------|------+------+------+------+------+------|
// | Z | X | C | V | B | Caps |^Shift| N | M | , | . | " |
// |------+------+------+------+------+------+------+------+------+------+------+------|
// | Ctrl | GUI | Alt | Esc | Space| Tab | Bksp | Ent | Left | Down | Up | Right|
// `-----------------------------------------------------------------------------------'
[_BASE] = {
{KC_Q, KC_W, KC_E, KC_R, KC_T, CNTR_TL, CNTR_TR, KC_Y, KC_U, KC_I, KC_O, KC_P },
{KC_A, KC_S, KC_D, KC_F, KC_G, CNTR_HL, CNTR_HR, KC_H, KC_J, KC_K, KC_L, KC_SCLN},
{KC_Z, KC_X, KC_C, KC_V, KC_B, CNTR_BL, CNTR_BR, KC_N, KC_M, KC_COMM, KC_DOT, TD_QUOT},
{OS_CTL, OS_GUI, OS_ALT, LT_ESC, TD_SPC, LT_TAB, LT_BSPC, TD_ENT, LT_LEFT, AT_DOWN, GT_UP, CT_RGHT},
},
[_SHIFT] = {
{S(KC_Q), S(KC_W), S(KC_E), S(KC_R), S(KC_T), CNTR_TL, CNTR_TR, S(KC_Y), S(KC_U), S(KC_I), S(KC_O), S(KC_P)},
{S(KC_A), S(KC_S), S(KC_D), S(KC_F), S(KC_G), CNTR_HL, CNTR_HR, S(KC_H), S(KC_J), S(KC_K), S(KC_L), KC_SCLN},
{S(KC_Z), S(KC_X), S(KC_C), S(KC_V), S(KC_B), CNTR_BL, CNTR_BR, S(KC_N), S(KC_M), KC_COMM, KC_DOT, TD_QUOT},
{OS_CTL, OS_GUI, OS_ALT, LT_ESC, TD_SPC, LT_TAB, LT_BSPC, TD_ENT, LT_LEFT, AT_DOWN, GT_UP, CT_RGHT},
},
// ,-----------------------------------------------------------------------------------.
// | Q | W | E | R | T | ^Alt | ^GUI | Y | U | I | O | P |
// |------+------+------+------+------+-------------+------+------+------+------+------|
// | A | S | D | F | G | ↑Alt | ↑GUI | H | J | K | L | : |
// |------+------+------+------+------+------|------+------+------+------+------+------|
// | Z | X | C | V | B | Caps |^Shift| N | M | / | ? | " |
// |------+------+------+------+------+------+------+------+------+------+------+------|
// | Ctrl | GUI | Alt | Esc | f() | Tab | Del | - | Left | Down | Up | Right|
// `-----------------------------------------------------------------------------------'
[_LSHIFT] = {
{S(KC_Q), S(KC_W), S(KC_E), S(KC_R), S(KC_T), CNTR_TL, CNTR_TR, S(KC_Y), S(KC_U), S(KC_I), S(KC_O), S(KC_P)},
{S(KC_A), S(KC_S), S(KC_D), S(KC_F), S(KC_G), CNTR_HL, CNTR_HR, S(KC_H), S(KC_J), S(KC_K), S(KC_L), TD_COLN},
{S(KC_Z), S(KC_X), S(KC_C), S(KC_V), S(KC_B), CNTR_BL, CNTR_BR, S(KC_N), S(KC_M), KC_SLSH, KC_QUES, TD_DQOT},
{OS_CTL, OS_GUI, OS_ALT, LT_ESC, ___fn__, LT_TAB, KC_DEL, KC_MINS, SL_LEFT, S_DOWN, S_UP, S_RGHT },
},
// ,-----------------------------------------------------------------------------------.
// | Q | W | E | R | T | ^Alt | ^GUI | Y | U | I | O | P |
// |------+------+------+------+------+-------------+------+------+------+------+------|
// | A | S | D | F | G | ↑Alt | ↑GUI | H | J | K | L | : |
// |------+------+------+------+------+------|------+------+------+------+------+------|
// | Z | X | C | V | B | Caps |^Shift| N | M | ~ | ` | " |
// |------+------+------+------+------+------+------+------+------+------+------+------|
// | Ctrl | GUI | Alt | Caps | _ | ↑Tab | Bksp | f() | Left | Down | Up | Right|
// `-----------------------------------------------------------------------------------'
[_RSHIFT] = {
{S(KC_Q), S(KC_W), S(KC_E), S(KC_R), S(KC_T), CNTR_TL, CNTR_TR, S(KC_Y), S(KC_U), S(KC_I), S(KC_O), S(KC_P)},
{S(KC_A), S(KC_S), S(KC_D), S(KC_F), S(KC_G), CNTR_HL, CNTR_HR, S(KC_H), S(KC_J), S(KC_K), S(KC_L), TD_COLN},
{S(KC_Z), S(KC_X), S(KC_C), S(KC_V), S(KC_B), CNTR_BL, CNTR_BR, S(KC_N), S(KC_M), TD_TILD, TD_GRV, TD_DQOT},
{OS_CTL, OS_GUI, OS_ALT, KC_CAPS, KC_UNDS, SL_TAB, LT_BSPC, ___fn__, SL_LEFT, S_DOWN, S_UP, S_RGHT },
},
#endif