summaryrefslogtreecommitdiff
path: root/keyboards/kisakeyluxury/qtz/keymaps
diff options
context:
space:
mode:
authorkisakey-luxury <143060353+kisakey-luxury@users.noreply.github.com>2023-10-12 11:21:30 -0700
committerGitHub <noreply@github.com>2023-10-12 11:21:30 -0700
commit999e7213122bd37702e4c501995b81104bc07984 (patch)
tree77055f01e85697b01cfb06ae9669c9103d81d1cc /keyboards/kisakeyluxury/qtz/keymaps
parentb5423b2e8365f2c63a0f902741fac9d9a940bc5d (diff)
Kisakey (#22217)
Co-authored-by: jack <0x6a73@protonmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/kisakeyluxury/qtz/keymaps')
-rw-r--r--keyboards/kisakeyluxury/qtz/keymaps/default/config.h20
-rw-r--r--keyboards/kisakeyluxury/qtz/keymaps/default/keymap.c43
-rw-r--r--keyboards/kisakeyluxury/qtz/keymaps/default/rules.mk1
3 files changed, 64 insertions, 0 deletions
diff --git a/keyboards/kisakeyluxury/qtz/keymaps/default/config.h b/keyboards/kisakeyluxury/qtz/keymaps/default/config.h
new file mode 100644
index 0000000000..7d03c4ddb8
--- /dev/null
+++ b/keyboards/kisakeyluxury/qtz/keymaps/default/config.h
@@ -0,0 +1,20 @@
+/*
+Copyright 2023 kisakeyluxury
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+#pragma once
+
+#define COMBO_TERM 200
diff --git a/keyboards/kisakeyluxury/qtz/keymaps/default/keymap.c b/keyboards/kisakeyluxury/qtz/keymaps/default/keymap.c
new file mode 100644
index 0000000000..d5b0a8d2af
--- /dev/null
+++ b/keyboards/kisakeyluxury/qtz/keymaps/default/keymap.c
@@ -0,0 +1,43 @@
+/*
+Copyright 2023 kisakeyluxury
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+#include QMK_KEYBOARD_H
+
+enum layers{
+ _BASE
+};
+
+enum combo_events {
+ COMBO_ESC
+};
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [_BASE] = LAYOUT(
+ KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P,
+ KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT,
+ KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT,
+ KC_1, KC_2, KC_3, KC_4, KC_SPACE, KC_4, KC_3, KC_2, QK_BOOT
+ )
+};
+
+#ifdef COMBO_ENABLE
+const uint16_t PROGMEM combo_esc[] = {KC_E, KC_W, COMBO_END};
+
+combo_t key_combos[] = {
+ [COMBO_ESC] = COMBO(combo_esc,KC_ESC),
+};
+#endif
diff --git a/keyboards/kisakeyluxury/qtz/keymaps/default/rules.mk b/keyboards/kisakeyluxury/qtz/keymaps/default/rules.mk
new file mode 100644
index 0000000000..ab1e438182
--- /dev/null
+++ b/keyboards/kisakeyluxury/qtz/keymaps/default/rules.mk
@@ -0,0 +1 @@
+COMBO_ENABLE = yes