summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcsc027 <csc_dev@protonmail.com>2021-05-14 03:54:41 +0000
committerGitHub <noreply@github.com>2021-05-13 20:54:41 -0700
commit937f5fe740f834bcaf1f7b05e3b389345db1c25f (patch)
tree1f84e1174ec089a7d9044c1f469427f5aab33775
parentcae4911ca87213977dd38e2b1647d6b3ae03262d (diff)
[Keymap] csc027/keymap-updates (#12694)
-rw-r--r--keyboards/keebio/iris/keymaps/csc027/config.h5
-rw-r--r--keyboards/planck/keymaps/csc027/config.h28
-rw-r--r--users/csc027/defines.h8
3 files changed, 38 insertions, 3 deletions
diff --git a/keyboards/keebio/iris/keymaps/csc027/config.h b/keyboards/keebio/iris/keymaps/csc027/config.h
index 2ec00e98b6..ec4c2bbc65 100644
--- a/keyboards/keebio/iris/keymaps/csc027/config.h
+++ b/keyboards/keebio/iris/keymaps/csc027/config.h
@@ -30,3 +30,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_VAL_STEP 8
#define USB_POLLING_INTERVAL_MS 1
+
+#if defined(TAP_CODE_DELAY)
+# undef TAP_CODE_DELAY
+#endif
+#define TAP_CODE_DELAY 10
diff --git a/keyboards/planck/keymaps/csc027/config.h b/keyboards/planck/keymaps/csc027/config.h
new file mode 100644
index 0000000000..a3b69beb5a
--- /dev/null
+++ b/keyboards/planck/keymaps/csc027/config.h
@@ -0,0 +1,28 @@
+/*
+Copyright 2021 Constantine Chen @csc027
+
+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 NO_ACTION_MACRO
+#define NO_ACTION_FUNCTION
+
+#define USB_POLLING_INTERVAL_MS 1
+
+#if defined(TAP_CODE_DELAY)
+# undef TAP_CODE_DELAY
+#endif
+#define TAP_CODE_DELAY 10
diff --git a/users/csc027/defines.h b/users/csc027/defines.h
index c9093ab2aa..9654cd9f02 100644
--- a/users/csc027/defines.h
+++ b/users/csc027/defines.h
@@ -201,8 +201,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Windows Terminal Layer
*
+ * Contains shortcuts for pane and tab usage for Windows Terminal
+ *
* ,-----------------------------------. ,-----------------------------------.
- * | |Tab 1|Tab 2|Tab 3|Tab 4|Tab 5| |Tab 6|Tab 7|Tab 8|Tab 9| |BkSpc|
+ * | |Tab 1|Tab 2|Tab 3|Tab 4|Tab 5| |Tab 6|Tab 7|Tab 8|Tab 9|TrCnP|BkSpc|
* |-----------------------------------| |-----------------------------------|
* | | |Split|Close| | | |FcsLf|FcsDn|FcsUp|FcsRt| | |
* |-----------------------------------| |-----------------------------------|
@@ -217,8 +219,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define ________________WINDOWS_TERMINAL_L3________________ _______, XXXXXXX, XXXXXXX, XXXXXXX, MC_trpv, XXXXXXX
#define ________________WINDOWS_TERMINAL_L4________________ _______, _______, _______, _______, _______, _______
-#define ________________WINDOWS_TERMINAL_R1________________ MC_trt6, MC_trt7, MC_trt8, MC_trt9, XXXXXXX, KC_BSPC
-#define ________________WINDOWS_TERMINAL_R2________________ MC_trpl, MC_trpd, MC_trpu, MC_trpr, MC_trcp, XXXXXXX
+#define ________________WINDOWS_TERMINAL_R1________________ MC_trt6, MC_trt7, MC_trt8, MC_trt9, MC_trcp, KC_BSPC
+#define ________________WINDOWS_TERMINAL_R2________________ MC_trpl, MC_trpd, MC_trpu, MC_trpr, XXXXXXX, XXXXXXX
#define ________________WINDOWS_TERMINAL_R3________________ XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______
#define ________________WINDOWS_TERMINAL_R4________________ _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX