aboutsummaryrefslogtreecommitdiff
path: root/keyboards/blackplum/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/blackplum/config.h')
-rw-r--r--keyboards/blackplum/config.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/keyboards/blackplum/config.h b/keyboards/blackplum/config.h
new file mode 100644
index 000000000..dc92f416f
--- /dev/null
+++ b/keyboards/blackplum/config.h
@@ -0,0 +1,40 @@
1#pragma once
2
3#include "config_common.h"
4
5/* USB Device descriptor parameter */
6#define VENDOR_ID 0x5058 // "PX"
7#define PRODUCT_ID 0x4250 // "BP"
8#define DEVICE_VER 0x1001
9#define MANUFACTURER Pixlup
10#define PRODUCT Blackplum Keeb
11
12/* key matrix size */
13#define MATRIX_ROWS 9
14#define MATRIX_COLS 8
15
16/* key matrix pins */
17#define MATRIX_ROW_PINS { C6, B6, B4, B5, D6, D7, D5, D3, D4 }
18#define MATRIX_COL_PINS { D0, D1, D2, F7, F6, F5, F4, F1 }
19#define UNUSED_PINS
20
21#define DIODE_DIRECTION COL2ROW
22
23/* Set 0 if debouncing isn't needed */
24#define DEBOUNCE 5
25
26/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
27#define LOCKING_SUPPORT_ENABLE
28
29/* Locking resynchronize hack */
30#define LOCKING_RESYNC_ENABLE
31
32
33/* ws2812 RGB LED */
34#define RGB_DI_PIN C7
35#define RGBLIGHT_ANIMATIONS
36#define RGBLED_NUM 16 // Number of LEDs
37#define RGBLIGHT_HUE_STEP 10
38#define RGBLIGHT_SAT_STEP 10
39#define RGBLIGHT_VAL_STEP 10
40#define RGBLIGHT_SLEEP