diff options
Diffstat (limited to 'keyboards/kb_elmo/isolation/config.h')
-rw-r--r-- | keyboards/kb_elmo/isolation/config.h | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/keyboards/kb_elmo/isolation/config.h b/keyboards/kb_elmo/isolation/config.h new file mode 100644 index 000000000..3d32efbcb --- /dev/null +++ b/keyboards/kb_elmo/isolation/config.h | |||
@@ -0,0 +1,62 @@ | |||
1 | /* | ||
2 | Copyright 2021 kb-elmo<mail@elmo.space> | ||
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 | |||
18 | #pragma once | ||
19 | |||
20 | #include "config_common.h" | ||
21 | |||
22 | /* USB Device descriptor parameter */ | ||
23 | #define VENDOR_ID 0xA68C | ||
24 | #define PRODUCT_ID 0x4EE6 | ||
25 | #define DEVICE_VER 0x0001 | ||
26 | #define MANUFACTURER kb-elmo | ||
27 | #define PRODUCT ISOlation | ||
28 | |||
29 | /* key matrix size */ | ||
30 | #define MATRIX_ROWS 1 | ||
31 | #define MATRIX_COLS 1 | ||
32 | |||
33 | /* direct key pin */ | ||
34 | #define DIRECT_PINS {{ B0 }} | ||
35 | #define UNUSED_PINS | ||
36 | |||
37 | /* RGB backlight */ | ||
38 | #define RGB_DI_PIN B2 | ||
39 | #ifdef RGB_DI_PIN | ||
40 | # define RGBLED_NUM 3 | ||
41 | # define RGBLIGHT_HUE_STEP 8 | ||
42 | # define RGBLIGHT_SAT_STEP 8 | ||
43 | # define RGBLIGHT_VAL_STEP 8 | ||
44 | # define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | ||
45 | # define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||
46 | # define RGBLIGHT_EFFECT_BREATHING | ||
47 | # define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
48 | # define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
49 | # define RGBLIGHT_EFFECT_KNIGHT | ||
50 | # define RGBLIGHT_EFFECT_CHRISTMAS | ||
51 | # define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
52 | # define RGBLIGHT_EFFECT_RGB_TEST | ||
53 | # define RGBLIGHT_EFFECT_ALTERNATING | ||
54 | # define RGBLIGHT_EFFECT_TWINKLE | ||
55 | #endif | ||
56 | |||
57 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
58 | #define DEBOUNCE 5 | ||
59 | |||
60 | /* disable these deprecated features by default */ | ||
61 | #define NO_ACTION_MACRO | ||
62 | #define NO_ACTION_FUNCTION | ||