diff options
Diffstat (limited to 'keyboards/contra/keymaps/dana/keymap.c')
| -rw-r--r-- | keyboards/contra/keymaps/dana/keymap.c | 39 |
1 files changed, 19 insertions, 20 deletions
diff --git a/keyboards/contra/keymaps/dana/keymap.c b/keyboards/contra/keymaps/dana/keymap.c index 529491923..f296805b0 100644 --- a/keyboards/contra/keymaps/dana/keymap.c +++ b/keyboards/contra/keymaps/dana/keymap.c | |||
| @@ -1,9 +1,7 @@ | |||
| 1 | // This is the canonical layout file for the Quantum project. If you want to add another keyboard, | 1 | // This is the canonical layout file for the Quantum project. If you want to add another keyboard, |
| 2 | // this is the style you want to emulate. | 2 | // this is the style you want to emulate. |
| 3 | 3 | ||
| 4 | #include "contra.h" | 4 | #include QMK_KEYBOARD_H |
| 5 | #include "action_layer.h" | ||
| 6 | #include "eeconfig.h" | ||
| 7 | 5 | ||
| 8 | extern keymap_config_t keymap_config; | 6 | extern keymap_config_t keymap_config; |
| 9 | 7 | ||
| @@ -13,23 +11,24 @@ extern keymap_config_t keymap_config; | |||
| 13 | 11 | ||
| 14 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | 12 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
| 15 | 13 | ||
| 16 | /* Qwerty | 14 | /* Qwerty |
| 17 | * ,-----------------------------------------------------------------------------------. | 15 | * ,-----------------------------------------------------------------------------------. |
| 18 | * | ` | Q | W | E | R | T | Y | U | I | O | P | Bksp | | 16 | * | ` | Q | W | E | R | T | Y | U | I | O | P | Bksp | |
| 19 | * |------+------+------+------+------+-------------+------+------+------+------+------| | 17 | * |------+------+------+------+------+-------------+------+------+------+------+------| |
| 20 | * | Tab | A | S | D | F | G | H | J | K | L | ; | " | | 18 | * | Tab | A | S | D | F | G | H | J | K | L | ; | " | |
| 21 | * |------+------+------+------+------+------|------+------+------+------+------+------| | 19 | * |------+------+------+------+------+------|------+------+------+------+------+------| |
| 22 | * | Shift| Z | X | C | V | B | N | M | , | . | / |Shift | | 20 | * | Shift| Z | X | C | V | B | N | M | , | . | / |Shift | |
| 23 | * |------+------+------+------+------+------+------+------+------+------+------+------| | 21 | * |------+------+------+------+------+------+------+------+------+------+------+------| |
| 24 | * | Brite| Ctrl | Alt | Cmd |Lower | Space |Raise | Enter| Cmd | Alt |Ctrl | | 22 | * | Brite| Ctrl | Alt | Cmd |Lower | Space |Raise | Enter| Cmd | Alt |Ctrl | |
| 25 | * `-----------------------------------------------------------------------------------' | 23 | * `-----------------------------------------------------------------------------------' |
| 26 | */ | 24 | */ |
| 27 | [0] = { | 25 | [0] = LAYOUT_ortho_4x12( |
| 28 | { MI_C_4, MI_Cs_4, MI_D_4, MI_Ds_4, MI_E_4, MI_F_4, MI_Fs_4, MI_G_4, MI_Gs_4, MI_A_4, MI_As_4, MI_B_4 }, | 26 | MI_C_4, MI_Cs_4, MI_D_4, MI_Ds_4, MI_E_4, MI_F_4, MI_Fs_4, MI_G_4, MI_Gs_4, MI_A_4, MI_As_4, MI_B_4, |
| 29 | { MI_C_3, MI_Cs_3, MI_D_3, MI_Ds_3, MI_E_3, MI_F_3, MI_Fs_3, MI_G_3, MI_Gs_3, MI_A_3, MI_As_3, MI_B_3 }, | 27 | MI_C_3, MI_Cs_3, MI_D_3, MI_Ds_3, MI_E_3, MI_F_3, MI_Fs_3, MI_G_3, MI_Gs_3, MI_A_3, MI_As_3, MI_B_3, |
| 30 | { MI_C_2, MI_Cs_2, MI_D_2, MI_Ds_2, MI_E_2, MI_F_2, MI_Fs_2, MI_G_2, MI_Gs_2, MI_A_2, MI_As_2, MI_B_2 }, | 28 | MI_C_2, MI_Cs_2, MI_D_2, MI_Ds_2, MI_E_2, MI_F_2, MI_Fs_2, MI_G_2, MI_Gs_2, MI_A_2, MI_As_2, MI_B_2, |
| 31 | { MI_C_1, MI_Cs_1, MI_D_1, MI_Ds_1, MI_E_1, MI_F_1, MI_Fs_1, MI_G_1, MI_Gs_1, MI_A_1, MI_As_1, MI_B_1 } | 29 | MI_C_1, MI_Cs_1, MI_D_1, MI_Ds_1, MI_E_1, MI_F_1, MI_Fs_1, MI_G_1, MI_Gs_1, MI_A_1, MI_As_1, MI_B_1 |
| 32 | } | 30 | ) |
| 31 | |||
| 33 | }; | 32 | }; |
| 34 | 33 | ||
| 35 | 34 | ||
