aboutsummaryrefslogtreecommitdiff
path: root/keyboards/bioi/f60/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/bioi/f60/config.h')
-rw-r--r--keyboards/bioi/f60/config.h72
1 files changed, 72 insertions, 0 deletions
diff --git a/keyboards/bioi/f60/config.h b/keyboards/bioi/f60/config.h
new file mode 100644
index 000000000..a0d498b90
--- /dev/null
+++ b/keyboards/bioi/f60/config.h
@@ -0,0 +1,72 @@
1/*
2Copyright 2021 kb-elmo<[email protected]>
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#include "config_common.h"
21
22/* USB Device descriptor parameter */
23#define VENDOR_ID 0x8101
24#define PRODUCT_ID 0x4660
25#define DEVICE_VER 0x0001
26#define MANUFACTURER Basic IO Instruments
27#define PRODUCT BIOI F60
28
29/* key matrix size */
30#define MATRIX_ROWS 5
31#define MATRIX_COLS 14
32
33/* Keyboard Matrix Assignments */
34#define MATRIX_ROW_PINS { B0, E6, F1, F5, F4 }
35#define MATRIX_COL_PINS { F6, C7, C6, B6, B5, B4, D7, D6, D4, D5, D3, D2, D0, D1 }
36
37/* COL2ROW, ROW2COL */
38#define DIODE_DIRECTION COL2ROW
39
40/* Indicator LEDs */
41#define LED_CAPS_LOCK_PIN F0
42
43#define BACKLIGHT_PIN B7
44#define BACKLIGHT_LEVELS 8
45#define BACKLIGHT_BREATHING
46
47#define RGB_DI_PIN B1
48#ifdef RGB_DI_PIN
49# define RGBLED_NUM 5
50# define RGBLIGHT_HUE_STEP 8
51# define RGBLIGHT_SAT_STEP 8
52# define RGBLIGHT_VAL_STEP 8
53# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
54# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
55# define RGBLIGHT_EFFECT_BREATHING
56# define RGBLIGHT_EFFECT_RAINBOW_MOOD
57# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
58# define RGBLIGHT_EFFECT_SNAKE
59# define RGBLIGHT_EFFECT_KNIGHT
60# define RGBLIGHT_EFFECT_CHRISTMAS
61# define RGBLIGHT_EFFECT_STATIC_GRADIENT
62# define RGBLIGHT_EFFECT_RGB_TEST
63# define RGBLIGHT_EFFECT_ALTERNATING
64# define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB
65#endif
66
67/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
68#define DEBOUNCE 5
69
70/* disable these deprecated features by default */
71#define NO_ACTION_MACRO
72#define NO_ACTION_FUNCTION