aboutsummaryrefslogtreecommitdiff
path: root/keyboards/crkbd/keymaps/oled_sample/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/crkbd/keymaps/oled_sample/config.h')
-rw-r--r--keyboards/crkbd/keymaps/oled_sample/config.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/keyboards/crkbd/keymaps/oled_sample/config.h b/keyboards/crkbd/keymaps/oled_sample/config.h
new file mode 100644
index 000000000..41568c591
--- /dev/null
+++ b/keyboards/crkbd/keymaps/oled_sample/config.h
@@ -0,0 +1,48 @@
1/*
2Copyright 2019 @foostan
3Copyright 2020 Drashna Jaelre <@drashna>
4
5This program is free software: you can redistribute it and/or modify
6it under the terms of the GNU General Public License as published by
7the Free Software Foundation, either version 2 of the License, or
8(at your option) any later version.
9
10This program is distributed in the hope that it will be useful,
11but WITHOUT ANY WARRANTY; without even the implied warranty of
12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13GNU General Public License for more details.
14
15You should have received a copy of the GNU General Public License
16along with this program. If not, see <http://www.gnu.org/licenses/>.
17*/
18
19
20
21#pragma once
22
23//#define USE_MATRIX_I2C
24#ifdef KEYBOARD_crkbd_rev1_common
25# undef USE_I2C
26# define USE_SERIAL
27#endif
28
29/* Select hand configuration */
30
31#define MASTER_LEFT
32// #define MASTER_RIGHT
33// #define EE_HANDS
34
35#define USE_SERIAL_PD2
36
37#define TAPPING_FORCE_HOLD
38#define TAPPING_TERM 100
39
40#undef RGBLED_NUM
41#define RGBLIGHT_ANIMATIONS
42#define RGBLED_NUM 27
43#define RGBLIGHT_LIMIT_VAL 120
44#define RGBLIGHT_HUE_STEP 10
45#define RGBLIGHT_SAT_STEP 17
46#define RGBLIGHT_VAL_STEP 17
47
48#define OLED_FONT_H "keyboards/crkbd/lib/glcdfont.c"