Skip to content

Commit

Permalink
Add COLEMAK-DH layout as the default layout
Browse files Browse the repository at this point in the history
  • Loading branch information
afonsocarlos committed Nov 21, 2024
1 parent dfe3632 commit a3a1f0d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
13 changes: 12 additions & 1 deletion keyboards/crkbd/keymaps/afonsocarlos/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,18 @@ void matrix_scan_user(void) {

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_BASE] = LAYOUT_split_3x6_3(
//,-----------------------------------------------------. ,-----------------------------------------------------.
KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_MINS,
//|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
CTL_T(KC_ESC), KC_A, KC_R, KC_S, KC_T, KC_G, KC_M, KC_N, KC_E, KC_I, KC_O, CTL_T(KC_QUOT),
//|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
KC_LSFT, KC_Z, KC_X, KC_C, KC_D, KC_V, KC_K, KC_H, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
//|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------|
OSM(MOD_LGUI), LTOSL_NUMS, ALT_SPC, LT(_GAME_NUMPAD,KC_ENT), NAV_BSPC, ALT_DEL
//`--------------------------' `--------------------------'
),

[_QWERTY] = LAYOUT_split_3x6_3(
//,-----------------------------------------------------. ,-----------------------------------------------------.
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_MINS,
//|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
Expand All @@ -51,7 +63,6 @@ CTL_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G,
//|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------|
OSM(MOD_LGUI), LTOSL_NUMS, ALT_SPC, LT(_GAME_NUMPAD,KC_ENT), NAV_BSPC, ALT_DEL
//`--------------------------' `--------------------------'

),

[_NUMS] = LAYOUT_split_3x6_3(
Expand Down
1 change: 1 addition & 0 deletions keyboards/crkbd/keymaps/afonsocarlos/layers.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

enum custom_layers {
_BASE,
_QWERTY,
_FUNC_ACCENTS,
_GAME_NUMPAD,
_MAINTENANCE,
Expand Down

0 comments on commit a3a1f0d

Please sign in to comment.