layout with 34 keys

This commit is contained in:
Christoph Cullmann 2024-10-01 23:33:02 +02:00
parent a958412f5a
commit f23e38366f
No known key found for this signature in database
3 changed files with 36 additions and 36 deletions

View file

@ -16,38 +16,38 @@ enum my_layers {
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_BASE] = LAYOUT(
C(KC_X), KC_B, KC_F, KC_L, KC_K, KC_Q, KC_P, KC_G, KC_O, KC_U, KC_DOT, KC_PSCR,
C(KC_C), RALT_T(KC_N), LALT_T(KC_S), LCTL_T(KC_H), LSFT_T(KC_T), KC_M, KC_Y, RSFT_T(KC_C), RCTL_T(KC_A), LALT_T(KC_E), RALT_T(KC_I), XXXXXXX,
C(KC_V), KC_X, KC_V, KC_J, LGUI_T(KC_D), KC_Z, KC_QUOT, RGUI_T(KC_W), KC_SCLN, KC_SLSH, KC_COMM, XXXXXXX,
XXXXXXX, MO(_SYM), LT(_NUM, KC_R), LT(_NAV, KC_SPC), MO(_FN), XXXXXXX
KC_B, KC_F, KC_L, KC_K, KC_Q, KC_P, KC_G, KC_O, KC_U, KC_DOT,
RALT_T(KC_N), LALT_T(KC_S), LCTL_T(KC_H), LSFT_T(KC_T), KC_M, KC_Y, RSFT_T(KC_C), RCTL_T(KC_A), LALT_T(KC_E), RALT_T(KC_I),
KC_X, KC_V, KC_J, LGUI_T(KC_D), KC_Z, KC_QUOT, RGUI_T(KC_W), KC_SCLN, KC_SLSH, KC_COMM,
MO(_SYM), LT(_NUM, KC_R), LT(_NAV, KC_SPC), MO(_FN)
),
[_NUM] = LAYOUT(
_______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, QK_RBT, KC_LBRC, KC_7, KC_8, KC_9, KC_RBRC, _______,
_______, KC_RALT, KC_LALT, KC_LCTL, KC_LSFT, XXXXXXX, KC_EQL, KC_4, KC_5, KC_6, KC_SLSH, _______,
_______, XXXXXXX, XXXXXXX, XXXXXXX, KC_LGUI, XXXXXXX, KC_BSLS, KC_1, KC_2, KC_3, KC_GRV, _______,
XXXXXXX, XXXXXXX, XXXXXXX, KC_MINS, KC_0, XXXXXXX
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, QK_RBT, KC_LBRC, KC_7, KC_8, KC_9, KC_RBRC,
KC_RALT, KC_LALT, KC_LCTL, KC_LSFT, XXXXXXX, KC_EQL, KC_4, KC_5, KC_6, KC_SLSH,
XXXXXXX, XXXXXXX, XXXXXXX, KC_LGUI, XXXXXXX, KC_BSLS, KC_1, KC_2, KC_3, KC_GRV,
XXXXXXX, XXXXXXX, KC_MINS, KC_0
),
[_NAV] = LAYOUT(
_______, XXXXXXX, KC_PGUP, KC_UP, KC_PGDN, XXXXXXX, QK_RBT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______,
_______, KC_HOME, KC_LEFT, KC_DOWN, KC_RGHT, KC_END, XXXXXXX, KC_RSFT, KC_RCTL, KC_LALT, KC_RALT, _______,
_______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_RGUI, XXXXXXX, XXXXXXX, XXXXXXX, _______,
XXXXXXX, KC_TAB, KC_ENT, XXXXXXX, XXXXXXX, XXXXXXX
XXXXXXX, KC_PGUP, KC_UP, KC_PGDN, XXXXXXX, QK_RBT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
KC_HOME, KC_LEFT, KC_DOWN, KC_RGHT, KC_END, XXXXXXX, KC_RSFT, KC_RCTL, KC_LALT, KC_RALT,
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_RGUI, XXXXXXX, XXXXXXX, XXXXXXX,
KC_TAB, KC_ENT, XXXXXXX, XXXXXXX
),
[_SYM] = LAYOUT(
_______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, QK_BOOT, KC_LCBR, KC_AMPR, KC_ASTR, KC_LPRN, KC_RCBR, _______,
_______, KC_RALT, KC_LALT, KC_LCTL, KC_LSFT, XXXXXXX, KC_PLUS, KC_DLR, KC_PERC, KC_CIRC, KC_QUES, _______,
_______, XXXXXXX, XXXXXXX, XXXXXXX, KC_LGUI, XXXXXXX, KC_PIPE, KC_EXLM, KC_AT, KC_HASH, KC_TILD, _______,
XXXXXXX, XXXXXXX, XXXXXXX, KC_UNDS, KC_RPRN, XXXXXXX
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, QK_BOOT, KC_LCBR, KC_AMPR, KC_ASTR, KC_LPRN, KC_RCBR,
KC_RALT, KC_LALT, KC_LCTL, KC_LSFT, XXXXXXX, KC_PLUS, KC_DLR, KC_PERC, KC_CIRC, KC_QUES,
XXXXXXX, XXXXXXX, XXXXXXX, KC_LGUI, XXXXXXX, KC_PIPE, KC_EXLM, KC_AT, KC_HASH, KC_TILD,
XXXXXXX, XXXXXXX, KC_UNDS, KC_RPRN
),
[_FN] = LAYOUT(
_______, KC_F12, KC_F7, KC_F8, KC_F9, XXXXXXX, QK_BOOT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______,
_______, KC_F11, KC_F4, KC_F5, KC_F6, KC_DEL, XXXXXXX, KC_RSFT, KC_RCTL, KC_LALT, KC_RALT, _______,
_______, KC_F10, KC_F1, KC_F2, KC_F3, KC_INS, XXXXXXX, KC_RGUI, XXXXXXX, XXXXXXX, XXXXXXX, _______,
XXXXXXX, KC_BSPC, KC_ESC, XXXXXXX, XXXXXXX, XXXXXXX
KC_F12, KC_F7, KC_F8, KC_F9, KC_PSCR, QK_BOOT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
KC_F11, KC_F4, KC_F5, KC_F6, KC_DEL, XXXXXXX, KC_RSFT, KC_RCTL, KC_LALT, KC_RALT,
KC_F10, KC_F1, KC_F2, KC_F3, KC_INS, XXXXXXX, KC_RGUI, XXXXXXX, XXXXXXX, XXXXXXX,
KC_BSPC, KC_ESC, XXXXXXX, XXXXXXX
)
};

View file

@ -14,16 +14,16 @@ static bool on_left_hand(keypos_t pos)
// layout helper macro, we just use 42 keys
#undef LAYOUT
#define LAYOUT(\
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K10, K11,\
K12, K13, K14, K15, K16, K17, K18, K19, K20, K21, K22, K23,\
K24, K25, K26, K27, K28, K29, K30, K31, K32, K33, K34, K35,\
K36, K37, K38, K39, K40, K41\
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\
K30, K31, K32, K33\
)\
LAYOUT_split_3x6_3(\
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K10, K11,\
K12, K13, K14, K15, K16, K17, K18, K19, K20, K21, K22, K23,\
K24, K25, K26, K27, K28, K29, K30, K31, K32, K33, K34, K35,\
K36, K37, K38, K39, K40, K41\
KC_NO, K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, KC_NO,\
KC_NO, K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, KC_NO,\
KC_NO, K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, KC_NO,\
KC_NO, K30, K31, K32, K33, KC_NO\
)
// our shared 42 keys keymap

View file

@ -14,16 +14,16 @@ static bool on_left_hand(keypos_t pos)
// layout helper macro, we just use 42 keys
#undef LAYOUT
#define LAYOUT(\
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K10, K11,\
K12, K13, K14, K15, K16, K17, K18, K19, K20, K21, K22, K23,\
K24, K25, K26, K27, K28, K29, K30, K31, K32, K33, K34, K35,\
K36, K37, K38, K39, K40, K41\
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\
K30, K31, K32, K33\
)\
LAYOUT_ortho_4x12(\
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K10, K11,\
K12, K13, K14, K15, K16, K17, K18, K19, K20, K21, K22, K23,\
K24, K25, K26, K27, K28, K29, K30, K31, K32, K33, K34, K35,\
KC_NO, KC_NO, KC_NO, K36, K37, K38, K39, K40, K41, KC_NO, KC_NO, KC_NO\
K00, K01, K02, K03, K04, KC_NO, KC_NO, K05, K06, K07, K08, K09,\
K10, K11, K12, K13, K14, KC_NO, KC_NO, K15, K16, K17, K18, K19,\
K20, K21, K22, K23, K24, KC_NO, KC_NO, K25, K26, K27, K28, K29,\
KC_NO, KC_NO, KC_NO, K30, K31, KC_NO, KC_NO, K32, K33, KC_NO, KC_NO, KC_NO\
)
// our shared 42 keys keymap