aboutsummaryrefslogtreecommitdiff
path: root/keyboards/cablecardesigns/cypher/rev6/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/cablecardesigns/cypher/rev6/config.h')
-rw-r--r--keyboards/cablecardesigns/cypher/rev6/config.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/keyboards/cablecardesigns/cypher/rev6/config.h b/keyboards/cablecardesigns/cypher/rev6/config.h
new file mode 100644
index 000000000..51d86d721
--- /dev/null
+++ b/keyboards/cablecardesigns/cypher/rev6/config.h
@@ -0,0 +1,56 @@
1// Copyright 2022 Cable Car Designs (@westfoxtrot)
2// SPDX-License-Identifier: GPL-2.0-or-later
3#pragma once
4
5#include "config_common.h"
6
7/* USB Device descriptor parameter */
8#define VENDOR_ID 0x41FF
9#define PRODUCT_ID 0xAA99
10#define DEVICE_VER 0x0002
11#define MANUFACTURER cablecardesigns
12#define PRODUCT cypher
13
14/* key matrix size */
15#define MATRIX_ROWS 10
16#define MATRIX_COLS 10
17
18#define MATRIX_ROW_PINS { B0, F1, F5, F6, F7, D1, F4, D4, C6, C7 }
19#define MATRIX_COL_PINS { D6, D7, B4, B5, B6, B7, B3, B2, B1, F0 }
20#define UNUSED_PINS
21
22/* COL2ROW, ROW2COL, or CUSTOM_MATRIX */
23#define DIODE_DIRECTION COL2ROW
24
25#define BACKLIGHT_BREATHING
26#define BACKLIGHT_LEVELS 5
27
28/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
29#define DEBOUNCE 5
30
31/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
32#define LOCKING_SUPPORT_ENABLE
33/* Locking resynchronize hack */
34#define LOCKING_RESYNC_ENABLE
35
36#define BACKLIGHT_PIN D0
37
38#define RGB_DI_PIN D5
39#ifdef RGB_DI_PIN
40 #define RGBLED_NUM 3
41 #define RGBLIGHT_HUE_STEP 12
42 #define RGBLIGHT_SAT_STEP 25
43 #define RGBLIGHT_VAL_STEP 12
44 #define RGBLIGHT_LIMIT_VAL 255
45 #define RGBLIGHT_SLEEP
46 #define RGBLIGHT_EFFECT_BREATHING
47 #define RGBLIGHT_EFFECT_RAINBOW_MOOD
48 #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
49 #define RGBLIGHT_EFFECT_SNAKE
50 #define RGBLIGHT_EFFECT_KNIGHT
51 #define RGBLIGHT_EFFECT_CHRISTMAS
52 #define RGBLIGHT_EFFECT_STATIC_GRADIENT
53 #define RGBLIGHT_EFFECT_RGB_TEST
54 #define RGBLIGHT_EFFECT_ALTERNATING
55 #define RGBLIGHT_EFFECT_TWINKLE
56#endif