aboutsummaryrefslogtreecommitdiff
path: root/keyboards/dztech
diff options
context:
space:
mode:
authorDimiter Geelen <Didel@users.noreply.github.com>2020-08-13 02:28:37 +0200
committerGitHub <noreply@github.com>2020-08-12 17:28:37 -0700
commit7c7078faf36b9d302186f8dd4b7152ab159df050 (patch)
treeda5b903ef698fc1a39527030689bbf47359c6850 /keyboards/dztech
parentc957eed04b302459304f08a0d1fd43f7602da94e (diff)
downloadqmk_firmware-7c7078faf36b9d302186f8dd4b7152ab159df050.tar.gz
qmk_firmware-7c7078faf36b9d302186f8dd4b7152ab159df050.zip
[Keymap] DZ60RGB - Add personal keymap (#9989)
* DZ60RGB V1 - Add personal configuration (cherry picked from commit 313ce586e998f5604ed1b559bbe90de381f0b782) * [Keymap] Didel - Add license headers * [Keymap] Didel - Reformat Keymap * [Keymap] Didel - Add named layers
Diffstat (limited to 'keyboards/dztech')
-rw-r--r--keyboards/dztech/dz60rgb/keymaps/didel/config.h23
-rw-r--r--keyboards/dztech/dz60rgb/keymaps/didel/keymap.c60
-rw-r--r--keyboards/dztech/dz60rgb/keymaps/didel/rules.mk1
3 files changed, 84 insertions, 0 deletions
diff --git a/keyboards/dztech/dz60rgb/keymaps/didel/config.h b/keyboards/dztech/dz60rgb/keymaps/didel/config.h
new file mode 100644
index 000000000..32f04d817
--- /dev/null
+++ b/keyboards/dztech/dz60rgb/keymaps/didel/config.h
@@ -0,0 +1,23 @@
1/*
2 Keymap for the DZ60RGB keyboard.
3 Copyright (C) 2020 Dimiter Geelen
4
5 This program is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 3 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <https://www.gnu.org/licenses/>.
17*/
18
19#pragma once
20
21#define FORCE_NKRO
22#define PERMISSIVE_HOLD
23#define TAPPING_TERM 150
diff --git a/keyboards/dztech/dz60rgb/keymaps/didel/keymap.c b/keyboards/dztech/dz60rgb/keymaps/didel/keymap.c
new file mode 100644
index 000000000..d88bc1092
--- /dev/null
+++ b/keyboards/dztech/dz60rgb/keymaps/didel/keymap.c
@@ -0,0 +1,60 @@
1/*
2 Keymap for the DZ60RGB keyboard.
3 Copyright (C) 2020 Dimiter Geelen
4
5 This program is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 3 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <https://www.gnu.org/licenses/>.
17*/
18
19#include QMK_KEYBOARD_H
20
21enum didel_layers {
22 _QWERTY,
23 _MEDIA,
24 _RGB,
25 _DVORAK,
26};
27
28const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
29 [_QWERTY] = LAYOUT(
30 KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC,
31 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
32 CTL_T(KC_CAPS), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
33 LSFT_T(KC_GRAVE), KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, RSFT_T(KC_SLSH), KC_UP, LT(2, KC_DEL),
34 KC_LCTL, LM(1, MOD_LALT), KC_LGUI, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT
35 ),
36
37 [_MEDIA] = LAYOUT(
38 TO(3), KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_POWER,
39 _______, _______, KC_UP, _______, _______, _______, KC_CALC, _______, KC_INS, _______, KC_PSCR, KC_SLCK, KC_PAUS, RESET,
40 _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGUP, EEP_RST,
41 _______, _______, _______, _______, _______, _______, NK_TOGG, _______, _______, KC_END, KC_PGDN, KC_VOLU, KC_MUTE,
42 _______, _______, _______, _______, _______, _______, KC_MPRV, KC_VOLD, KC_MNXT
43 ),
44
45 [_RGB] = LAYOUT(
46 _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL,
47 _______, RGB_TOG, _______, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, RGB_MOD, _______, _______, _______, RESET,
48 _______, _______, _______, _______, _______, _______, _______, _______, RGB_SPI, RGB_SPD, _______, _______, EEP_RST,
49 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
50 _______, _______, _______, _______, _______, _______, _______, _______, _______
51 ),
52
53 [_DVORAK] = LAYOUT(
54 KC_DLR, KC_AMPR, KC_LBRC, KC_LCBR, KC_RCBR, KC_LPRN, KC_EQL, KC_ASTR, KC_RPRN, KC_PLUS, KC_RBRC, KC_EXLM, KC_HASH, KC_BSPC,
55 KC_TAB, KC_SCLN, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_SLSH, KC_AT, KC_BSLS,
56 KC_CAPS, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_MINS, KC_ENT,
57 KC_LSFT, KC_QUOT, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, RSFT_T(KC_Z), KC_UP, KC_DEL,
58 KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RALT, TO(0), KC_LEFT, KC_DOWN, KC_RGHT
59 )
60};
diff --git a/keyboards/dztech/dz60rgb/keymaps/didel/rules.mk b/keyboards/dztech/dz60rgb/keymaps/didel/rules.mk
new file mode 100644
index 000000000..23a763243
--- /dev/null
+++ b/keyboards/dztech/dz60rgb/keymaps/didel/rules.mk
@@ -0,0 +1 @@
NKRO_ENABLE = yes