aboutsummaryrefslogtreecommitdiff
path: root/keyboards/contra/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/contra/config.h')
-rwxr-xr-xkeyboards/contra/config.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/keyboards/contra/config.h b/keyboards/contra/config.h
new file mode 100755
index 000000000..499517f98
--- /dev/null
+++ b/keyboards/contra/config.h
@@ -0,0 +1,45 @@
1#pragma once
2
3#include "config_common.h"
4
5/* USB Device descriptor parameter */
6#define VENDOR_ID 0x4354 /* "CT" */
7#define PRODUCT_ID 0x0001
8#define DEVICE_VER 0x0001
9#define MANUFACTURER Cartel
10#define PRODUCT Contra
11
12/* key matrix size */
13#define MATRIX_ROWS 4
14#define MATRIX_COLS 12
15
16/* key matrix pins */
17#define MATRIX_ROW_PINS { F6, B3, B2, B6 }
18#define MATRIX_COL_PINS { F4, F5, B5, B4, E6, D7, C6, D4, D0, D1, D2, D3 }
19#define UNUSED_PINS
20
21/* COL2ROW or ROW2COL */
22#define DIODE_DIRECTION COL2ROW
23
24/* number of backlight levels */
25
26#ifdef BACKLIGHT_PIN
27#define BACKLIGHT_LEVELS 0
28#endif
29
30/* Set 0 if debouncing isn't needed */
31#define DEBOUNCE 5
32
33/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
34#define LOCKING_SUPPORT_ENABLE
35
36/* Locking resynchronize hack */
37#define LOCKING_RESYNC_ENABLE
38
39#ifdef RGB_DI_PIN
40#define RGBLIGHT_ANIMATIONS
41#define RGBLED_NUM 0
42#define RGBLIGHT_HUE_STEP 8
43#define RGBLIGHT_SAT_STEP 8
44#define RGBLIGHT_VAL_STEP 8
45#endif