Skip to content

Commit c42158e

Browse files
committed
Add custom keymap for Corne 4.1
1 parent f628f8c commit c42158e

File tree

3 files changed

+575
-0
lines changed

3 files changed

+575
-0
lines changed
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
/*
2+
This is the c configuration file for the keymap
3+
4+
Copyright 2012 Jun Wako <wakojun@gmail.com>
5+
Copyright 2015 Jack Humbert
6+
7+
This program is free software: you can redistribute it and/or modify
8+
it under the terms of the GNU General Public License as published by
9+
the Free Software Foundation, either version 2 of the License, or
10+
(at your option) any later version.
11+
12+
This program is distributed in the hope that it will be useful,
13+
but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15+
GNU General Public License for more details.
16+
17+
You should have received a copy of the GNU General Public License
18+
along with this program. If not, see <http://www.gnu.org/licenses/>.
19+
*/
20+
21+
#pragma once
22+
23+
//#define USE_MATRIX_I2C
24+
25+
//#define QUICK_TAP_TERM 0
26+
//#define TAPPING_TERM 100
27+
28+
#ifdef RGBLIGHT_ENABLE
29+
#define RGBLIGHT_EFFECT_BREATHING
30+
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
31+
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
32+
#define RGBLIGHT_EFFECT_SNAKE
33+
#define RGBLIGHT_EFFECT_KNIGHT
34+
#define RGBLIGHT_EFFECT_CHRISTMAS
35+
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
36+
#define RGBLIGHT_EFFECT_RGB_TEST
37+
#define RGBLIGHT_EFFECT_ALTERNATING
38+
#define RGBLIGHT_EFFECT_TWINKLE
39+
#define RGBLIGHT_LIMIT_VAL 120
40+
#define RGBLIGHT_HUE_STEP 10
41+
#define RGBLIGHT_SAT_STEP 17
42+
#define RGBLIGHT_VAL_STEP 17
43+
#endif
44+
45+
// Configure the global tapping term (default: 200ms)
46+
#define TAPPING_TERM 200
47+
// Enable rapid switch from tap to hold, disables double tap hold auto-repeat.
48+
#define QUICK_TAP_TERM 0
49+
50+
// #define LEADER_PER_KEY_TIMING
51+
#define LEADER_NO_TIMEOUT
52+
#define LEADER_KEY_STRICT_KEY_PROCESSING
53+
#define LEADER_TIMEOUT 0
54+
55+
#define CAPS_WORD_INVERT_ON_SHIFT
56+
#define CAPS_WORD_IDLE_TIMEOUT 5000
57+
#define BOTH_SHIFTS_TURNS_ON_CAPS_WORD
58+
// #define DOUBLE_TAP_SHIFT_TURNS_ON_CAPS_WORD
59+
60+
#define ONESHOT_TAP_TOGGLE 5 /* Tapping this number of times holds the key until tapped once again. */
61+
#define ONESHOT_TIMEOUT 5000 /* Time (in ms) before the one shot key is released */

0 commit comments

Comments
 (0)