aboutsummaryrefslogtreecommitdiff
path: root/keyboards/splitkb/zima/keymaps
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/splitkb/zima/keymaps')
-rw-r--r--keyboards/splitkb/zima/keymaps/via/config.h20
-rw-r--r--keyboards/splitkb/zima/keymaps/via/keymap.c68
-rw-r--r--keyboards/splitkb/zima/keymaps/via/rules.mk2
3 files changed, 90 insertions, 0 deletions
diff --git a/keyboards/splitkb/zima/keymaps/via/config.h b/keyboards/splitkb/zima/keymaps/via/config.h
new file mode 100644
index 000000000..5a0e407c9
--- /dev/null
+++ b/keyboards/splitkb/zima/keymaps/via/config.h
@@ -0,0 +1,20 @@
1/* Copyright 2019 Thomas Baart
2 * Copyright 2021 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com>
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#pragma once
19
20#define DYNAMIC_KEYMAP_LAYER_COUNT 8
diff --git a/keyboards/splitkb/zima/keymaps/via/keymap.c b/keyboards/splitkb/zima/keymaps/via/keymap.c
new file mode 100644
index 000000000..e9fb001bb
--- /dev/null
+++ b/keyboards/splitkb/zima/keymaps/via/keymap.c
@@ -0,0 +1,68 @@
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
18const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
19 // clang-format off
20 [0] = LAYOUT_ortho_4x3(/* Base */
21 KC_MUTE, TG(1), TG(2),
22 KC_P7, KC_P8, KC_P9,
23 KC_P4, KC_P5, KC_P6,
24 KC_P1, KC_P2, KC_P3
25 ),
26 [1] = LAYOUT_ortho_4x3(/* Layer 1 */
27 RESET, _______, XXXXXXX,
28 AU_ON, AU_OFF, XXXXXXX,
29 CK_TOGG, XXXXXXX, CK_UP,
30 CK_RST, XXXXXXX, CK_DOWN
31 ),
32 [2] = LAYOUT_ortho_4x3(/* Layer 2*/
33 RGB_TOG, RGB_MOD, _______,
34 RGB_HUI, RGB_SAI, RGB_VAI,
35 RGB_HUD, RGB_SAD, RGB_VAD,
36 HPT_TOG, HPT_FBK, HPT_CONT
37 ),
38 [3] = LAYOUT_ortho_4x3(
39 _______, _______, _______,
40 _______, _______, _______,
41 _______, _______, _______,
42 _______, _______, _______
43 ),
44 [4] = LAYOUT_ortho_4x3(
45 _______, _______, _______,
46 _______, _______, _______,
47 _______, _______, _______,
48 _______, _______, _______
49 ),
50 [5] = LAYOUT_ortho_4x3(
51 _______, _______, _______,
52 _______, _______, _______,
53 _______, _______, _______,
54 _______, _______, _______
55 ),
56 [6] = LAYOUT_ortho_4x3(
57 _______, _______, _______,
58 _______, _______, _______,
59 _______, _______, _______,
60 _______, _______, _______
61 ),
62 [7] = LAYOUT_ortho_4x3(
63 _______, _______, _______,
64 _______, _______, _______,
65 _______, _______, _______,
66 _______, _______, _______
67 ),
68};
diff --git a/keyboards/splitkb/zima/keymaps/via/rules.mk b/keyboards/splitkb/zima/keymaps/via/rules.mk
new file mode 100644
index 000000000..1eb438e46
--- /dev/null
+++ b/keyboards/splitkb/zima/keymaps/via/rules.mk
@@ -0,0 +1,2 @@
1VIA_ENABLE = yes
2HAPTIC_ENABLE = no