From 937f5fe740f834bcaf1f7b05e3b389345db1c25f Mon Sep 17 00:00:00 2001 From: csc027 Date: Fri, 14 May 2021 03:54:41 +0000 Subject: [PATCH] [Keymap] csc027/keymap-updates (#12694) --- keyboards/keebio/iris/keymaps/csc027/config.h | 5 ++++ keyboards/planck/keymaps/csc027/config.h | 28 +++++++++++++++++++ users/csc027/defines.h | 8 ++++-- 3 files changed, 38 insertions(+), 3 deletions(-) create mode 100644 keyboards/planck/keymaps/csc027/config.h diff --git a/keyboards/keebio/iris/keymaps/csc027/config.h b/keyboards/keebio/iris/keymaps/csc027/config.h index 2ec00e98b..ec4c2bbc6 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 . #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 000000000..a3b69beb5 --- /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 . +*/ + +#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 c9093ab2a..9654cd9f0 100644 --- a/users/csc027/defines.h +++ b/users/csc027/defines.h @@ -200,9 +200,11 @@ along with this program. If not, see . #define ___________________CONVENIENCE_R4__________________ _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX /* 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 . #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