aboutsummaryrefslogtreecommitdiff
path: root/keyboards/felix/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/felix/config.h')
-rw-r--r--keyboards/felix/config.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/keyboards/felix/config.h b/keyboards/felix/config.h
new file mode 100644
index 000000000..f70089af4
--- /dev/null
+++ b/keyboards/felix/config.h
@@ -0,0 +1,56 @@
1#ifndef CONFIG_H
2#define CONFIG_H
3
4#include "config_common.h"
5
6/* USB Device descriptor parameter */
7#define VENDOR_ID 0xFEED
8#define PRODUCT_ID 0x6060
9#define DEVICE_VER 0x0001
10#define MANUFACTURER Unikeyboard
11#define PRODUCT Felix
12#define DESCRIPTION 4x5 number/macropad.
13
14/* key matrix size */
15#define MATRIX_ROWS 5
16#define MATRIX_COLS 4
17
18/* key matrix pins */
19#define MATRIX_ROW_PINS { B2, B3, B1, F7, F6 }
20#define MATRIX_COL_PINS { B5, B4, E6, D7 }
21#define UNUSED_PINS
22
23/* COL2ROW or ROW2COL */
24#define DIODE_DIRECTION ROW2COL
25
26/* number of backlight levels */
27/* Not sure what pin controls the backlighting, need help for this. */
28#define BACKLIGHT_PIN
29#define BACKLIGHT_LEVELS 5
30
31/* Set 0 if debouncing isn't needed */
32#define DEBOUNCING_DELAY 5
33
34/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
35#define LOCKING_SUPPORT_ENABLE
36
37/* Locking resynchronize hack */
38#define LOCKING_RESYNC_ENABLE
39
40/* key combination for command */
41#define IS_COMMAND() ( \
42 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
43)
44
45/* prevent stuck modifiers */
46#define PREVENT_STUCK_MODIFIERS
47
48/* there is no rgb underglow by default. */
49#define RGB_DI_PIN
50#define RGBLIGHT_ANIMATIONS
51#define RGBLED_NUM 16
52#define RGBLIGHT_HUE_STEP 8
53#define RGBLIGHT_SAT_STEP 8
54#define RGBLIGHT_VAL_STEP 8
55
56#endif \ No newline at end of file