diff options
Diffstat (limited to 'keyboards/bastardkb/charybdis/3x5/keymaps/default/config.h')
-rw-r--r-- | keyboards/bastardkb/charybdis/3x5/keymaps/default/config.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/keyboards/bastardkb/charybdis/3x5/keymaps/default/config.h b/keyboards/bastardkb/charybdis/3x5/keymaps/default/config.h new file mode 100644 index 000000000..f2dd86c65 --- /dev/null +++ b/keyboards/bastardkb/charybdis/3x5/keymaps/default/config.h | |||
@@ -0,0 +1,54 @@ | |||
1 | /** | ||
2 | * Copyright 2021 Charly Delay <charly@codesink.dev> (@0xcharly) | ||
3 | * | ||
4 | * This program is free software: you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License as published by | ||
6 | * the Free Software Foundation, either version 2 of the License, or | ||
7 | * (at your option) any later version. | ||
8 | * | ||
9 | * This program is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | * GNU General Public License for more details. | ||
13 | * | ||
14 | * You should have received a copy of the GNU General Public License | ||
15 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | ||
17 | #pragma once | ||
18 | |||
19 | #ifndef TAPPING_TERM | ||
20 | /** | ||
21 | * \brief Configure the global tapping term (default: 200ms). | ||
22 | * | ||
23 | * If you have a lot of accidental mod activations, crank up the tapping term. | ||
24 | * | ||
25 | * See docs.qmk.fm/using-qmk/software-features/tap_hold#tapping-term | ||
26 | */ | ||
27 | # define TAPPING_TERM 200 | ||
28 | #endif // TAPPING_TERM | ||
29 | |||
30 | /* RGB Matrix. */ | ||
31 | |||
32 | #ifdef RGB_MATRIX_ENABLE | ||
33 | // Disable control of RGB matrix by keycodes (must use firmware implementation | ||
34 | // to control the feature). | ||
35 | # define RGB_MATRIX_DISABLE_KEYCODES | ||
36 | |||
37 | // Limit maximum brightness to keep power consumption reasonable, and avoid | ||
38 | // disconnects. | ||
39 | # undef RGB_MATRIX_MAXIMUM_BRIGHTNESS | ||
40 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 64 | ||
41 | |||
42 | // Rainbow swirl as startup mode. | ||
43 | # define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT | ||
44 | # define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_LEFT_RIGHT | ||
45 | |||
46 | // Slow swirl at startup. | ||
47 | # define RGB_MATRIX_STARTUP_SPD 32 | ||
48 | |||
49 | // Startup values. | ||
50 | # define RGB_MATRIX_STARTUP_HUE 0 | ||
51 | # define RGB_MATRIX_STARTUP_SAT 255 | ||
52 | # define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS | ||
53 | # define RGB_MATRIX_STARTUP_HSV RGB_MATRIX_STARTUP_HUE, RGB_MATRIX_STARTUP_SAT, RGB_MATRIX_STARTUP_VAL | ||
54 | #endif // RGB_MATRIX_ENABLE | ||