chocofi/keymap: cleaner indentation

This commit is contained in:
Frieder Schlesier 2023-09-29 08:29:21 +02:00
parent 1c7976f6db
commit 06b352180c
1 changed files with 20 additions and 15 deletions

View File

@ -39,6 +39,11 @@ enum {
#define HSFT_S LSFT_T(KC_S)
#define HCTL_T LCTL_T(KC_T)
#define HGUI_AT LGUI_T(DE_AT)
#define HALT_F4 LALT_T(KC_F4)
#define HSFT_F5 LSFT_T(KC_F5)
#define HCTL_F6 LCTL_T(KC_F6)
// Right-hand home row mods
#define HCTL_N RCTL_T(KC_N)
#define HSFT_E RSFT_T(KC_E)
@ -47,6 +52,7 @@ enum {
// MOUSEMO on right hand index M
#define HMOU_M LT(MOUSEMO, KC_M)
#define HMOU_LEFT LT(MOUSEMO, KC_LEFT)
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[COLEMAK] = LAYOUT_split_3x5_3
@ -60,7 +66,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[NAV_FUN] = LAYOUT_split_3x5_3
(
DE_BSLS, KC_F7, KC_F8, KC_F9, KC_F10, LCTL(KC_F), KC_HOME, KC_END, RCS(KC_F), KC_BSPC,
LGUI_T(DE_AT), LALT_T(KC_F4), LSFT_T(KC_F5), LCTL_T(KC_F6), KC_F11, LT(MOUSEMO, KC_LEFT), KC_DOWN, KC_UP, KC_RIGHT, KC_DEL,
HGUI_AT, HALT_F4, HSFT_F5, HCTL_F6, KC_F11, HMOU_LEFT, KC_DOWN, KC_UP, KC_RIGHT, KC_DEL,
DE_TILD, KC_F1, KC_F2, KC_F3, KC_F12, LCTL(KC_H), KC_PGDN, KC_PGUP, RCS(KC_H), LCTL(KC_P),
_______, _______, _______, _______, _______, _______
),
@ -75,10 +81,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[MOUSEMO] = LAYOUT_split_3x5_3
(
XXXXXXX, XXXXXXX, KC_MS_U, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, DE_UDIA, XXXXXXX, XXXXXXX,
DE_ADIA, KC_MS_L, KC_MS_D, KC_MS_R, KC_BTN3, _______, KC_VOLD, KC_MUTE, KC_VOLU, DE_ODIA,
XXXXXXX, KC_WH_L, XXXXXXX, KC_WH_R, XXXXXXX, KC_MPRV, KC_MSTP, KC_MPLY, KC_MNXT, XXXXXXX,
_______, KC_BTN1, KC_WH_D, KC_WH_U, KC_BTN2, _______
XXXXXXX, XXXXXXX, KC_MS_U, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, DE_UDIA, XXXXXXX, XXXXXXX,
)
};