From f23e38366f1a0cbb19fa01e53ac95075fa33c0be Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Tue, 1 Oct 2024 23:33:02 +0200 Subject: [PATCH] layout with 34 keys --- common/keymap.h | 40 +++++++++---------- .../crkbd/keymaps/christoph-cullmann/keymap.c | 16 ++++---- .../keymaps/christoph-cullmann/keymap.c | 16 ++++---- 3 files changed, 36 insertions(+), 36 deletions(-) diff --git a/common/keymap.h b/common/keymap.h index 2a65f9b..ac1c5a1 100644 --- a/common/keymap.h +++ b/common/keymap.h @@ -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 ) }; diff --git a/keyboards/crkbd/keymaps/christoph-cullmann/keymap.c b/keyboards/crkbd/keymaps/christoph-cullmann/keymap.c index 5eb2dd0..49ed6b2 100644 --- a/keyboards/crkbd/keymaps/christoph-cullmann/keymap.c +++ b/keyboards/crkbd/keymaps/christoph-cullmann/keymap.c @@ -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 diff --git a/keyboards/planck/keymaps/christoph-cullmann/keymap.c b/keyboards/planck/keymaps/christoph-cullmann/keymap.c index 2a6327d..51a961c 100644 --- a/keyboards/planck/keymaps/christoph-cullmann/keymap.c +++ b/keyboards/planck/keymaps/christoph-cullmann/keymap.c @@ -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