aboutsummaryrefslogtreecommitdiff
path: root/keyboards/keebio/iris/rev6/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keebio/iris/rev6/config.h')
-rw-r--r--keyboards/keebio/iris/rev6/config.h91
1 files changed, 91 insertions, 0 deletions
diff --git a/keyboards/keebio/iris/rev6/config.h b/keyboards/keebio/iris/rev6/config.h
new file mode 100644
index 000000000..e821012a7
--- /dev/null
+++ b/keyboards/keebio/iris/rev6/config.h
@@ -0,0 +1,91 @@
1/*
2Copyright 2021 Danny Nguyen <danny@keeb.io>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20/* USB Device descriptor parameter */
21#define VENDOR_ID 0xCB10
22#define PRODUCT_ID 0x6256
23#define DEVICE_VER 0x0600
24#define MANUFACTURER Keebio
25#define PRODUCT Iris Rev. 6
26
27/* key matrix size */
28// Rows are doubled-up
29#define MATRIX_ROWS 10
30#define MATRIX_COLS 6
31
32// wiring of each half
33#define MATRIX_ROW_PINS { B1, F0, F5, B4, D7 }
34#define MATRIX_COL_PINS { F1, F4, B5, C7, D4, D6 }
35#define MATRIX_ROW_PINS_RIGHT { B1, F0, F5, B4, B5 }
36#define MATRIX_COL_PINS_RIGHT { D4, D6, D7, C7, F1, F4 }
37#define SPLIT_HAND_PIN D5
38
39#define ENCODERS_PAD_A { B2 }
40#define ENCODERS_PAD_B { B3 }
41#define ENCODERS_PAD_A_RIGHT { B2 }
42#define ENCODERS_PAD_B_RIGHT { B3 }
43
44/* COL2ROW or ROW2COL */
45#define DIODE_DIRECTION COL2ROW
46
47/* define if matrix has ghost */
48//#define MATRIX_HAS_GHOST
49
50/* number of backlight levels */
51// #define BACKLIGHT_LEVELS 3
52
53/* Set 0 if debouncing isn't needed */
54#define DEBOUNCE 5
55
56/* serial.c configuration for split keyboard */
57#define SOFT_SERIAL_PIN D0
58
59/* ws2812 RGB LED */
60#define RGB_DI_PIN E6
61#ifdef RGB_DI_PIN
62# define RGBLED_NUM 68
63# define RGBLED_SPLIT { 34, 34 }
64# define RGBLIGHT_HUE_STEP 8
65# define RGBLIGHT_SAT_STEP 8
66# define RGBLIGHT_VAL_STEP 8
67# define RGBLIGHT_LIMIT_VAL 120 /* The maximum brightness level */
68# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
69/*== enabled animations ==*/
70# define RGBLIGHT_EFFECT_BREATHING
71# define RGBLIGHT_EFFECT_RAINBOW_MOOD
72# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
73# define RGBLIGHT_EFFECT_SNAKE
74# define RGBLIGHT_EFFECT_KNIGHT
75# define RGBLIGHT_EFFECT_CHRISTMAS
76# define RGBLIGHT_EFFECT_STATIC_GRADIENT
77# define RGBLIGHT_EFFECT_RGB_TEST
78# define RGBLIGHT_EFFECT_ALTERNATING
79# define RGBLIGHT_EFFECT_TWINKLE
80# define RGBLIGHT_DEFAULT_VAL 120
81# define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2)
82// RGB Matrix
83# ifdef RGB_MATRIX_ENABLE
84# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 160
85# define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
86# define DRIVER_LED_TOTAL RGBLED_NUM
87# define RGB_MATRIX_SPLIT { 34, 34 }
88# define RGB_DISABLE_WHEN_USB_SUSPENDED
89//# define RGB_MATRIX_KEYPRESSES
90# endif
91#endif