diff options
Diffstat (limited to 'keyboards/splitkb/zima/keymaps')
-rw-r--r-- | keyboards/splitkb/zima/keymaps/default/keymap.c | 37 | ||||
-rw-r--r-- | keyboards/splitkb/zima/keymaps/default/readme.md | 7 |
2 files changed, 44 insertions, 0 deletions
diff --git a/keyboards/splitkb/zima/keymaps/default/keymap.c b/keyboards/splitkb/zima/keymaps/default/keymap.c new file mode 100644 index 000000000..33483c293 --- /dev/null +++ b/keyboards/splitkb/zima/keymaps/default/keymap.c | |||
@@ -0,0 +1,37 @@ | |||
1 | /* Copyright 2019 Thomas Baart | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #include QMK_KEYBOARD_H | ||
17 | |||
18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
19 | [0] = LAYOUT_ortho_4x3( /* Base */ | ||
20 | KC_MUTE, TG(1), TG(2), | ||
21 | KC_P7, KC_P8, KC_P9, | ||
22 | KC_P4, KC_P5, KC_P6, | ||
23 | KC_P1, KC_P2, KC_P3 | ||
24 | ), | ||
25 | [1] = LAYOUT_ortho_4x3( /* Layer 1 */ | ||
26 | RESET, _______, XXXXXXX, | ||
27 | AU_ON, AU_OFF, XXXXXXX, | ||
28 | CK_TOGG, XXXXXXX, CK_UP, | ||
29 | CK_RST, XXXXXXX, CK_DOWN | ||
30 | ), | ||
31 | [2] = LAYOUT_ortho_4x3( /* Layer 2*/ | ||
32 | RGB_TOG, RGB_MOD, _______, | ||
33 | RGB_HUI, RGB_SAI, RGB_VAI, | ||
34 | RGB_HUD, RGB_SAD, RGB_VAD, | ||
35 | HPT_TOG, HPT_FBK, HPT_CONT | ||
36 | ) | ||
37 | }; | ||
diff --git a/keyboards/splitkb/zima/keymaps/default/readme.md b/keyboards/splitkb/zima/keymaps/default/readme.md new file mode 100644 index 000000000..0f78f4bf1 --- /dev/null +++ b/keyboards/splitkb/zima/keymaps/default/readme.md | |||
@@ -0,0 +1,7 @@ | |||
1 | # The default keymap for zima | ||
2 | |||
3 | This includes support for the OLED and Encoder. However, the actual code is found in the `zima.c` file. This can be replaced by adding your own `oled_task_user(void)` and `encoder_update_user` functinons. These will replace what is in the keyboard, and allow you to customize these features. | ||
4 | |||
5 | The reason that this is done this way, is so that this functionality will work on the [QMK Configurator](https://config.qmk.fm/#/splitkb/zima/LAYOUT_ortho_4x3) | ||
6 | |||
7 | For reference, the code used for the oled and encoder defaults is in [zima.c](https://github.com/qmk/qmk_firmware/tree/master/keyboards/splitkb/zima/zima.c). | ||