aboutsummaryrefslogtreecommitdiff
path: root/keyboards/reviung5/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/reviung5/config.h')
-rw-r--r--keyboards/reviung5/config.h33
1 files changed, 18 insertions, 15 deletions
diff --git a/keyboards/reviung5/config.h b/keyboards/reviung5/config.h
index 493cc6af9..b06c5797f 100644
--- a/keyboards/reviung5/config.h
+++ b/keyboards/reviung5/config.h
@@ -27,8 +27,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
27#define PRODUCT reviung5 27#define PRODUCT reviung5
28 28
29/* key matrix size */ 29/* key matrix size */
30#define MATRIX_ROWS 1 30#define MATRIX_ROWS 1
31#define MATRIX_COLS 5 31#define MATRIX_COLS 5
32 32
33/* 33/*
34 * Keyboard Matrix Assignments 34 * Keyboard Matrix Assignments
@@ -40,28 +40,31 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
40 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) 40 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
41 * 41 *
42 */ 42 */
43#define MATRIX_ROW_PINS { F4 } 43#define MATRIX_ROW_PINS \
44#define MATRIX_COL_PINS { D4, C6, D7, E6, B4 } 44 { F4 }
45#define MATRIX_COL_PINS \
46 { D4, C6, D7, E6, B4 }
45#define UNUSED_PINS 47#define UNUSED_PINS
46 48
47/* COL2ROW, ROW2COL */ 49/* COL2ROW, ROW2COL */
48#define DIODE_DIRECTION COL2ROW 50#define DIODE_DIRECTION COL2ROW
49 51
50/* Encoder */ 52/* Encoder */
51#define ENCODERS_PAD_A { D0 } 53#define ENCODERS_PAD_A \
52#define ENCODERS_PAD_B { D1 } 54 { D0 }
53 55#define ENCODERS_PAD_B \
56 { D1 }
54 57
55#define RGB_DI_PIN D3 58#define RGB_DI_PIN D3
56#ifdef RGB_DI_PIN 59#ifdef RGB_DI_PIN
57# define RGBLED_NUM 4 60# define RGBLED_NUM 4
58# define RGBLIGHT_HUE_STEP 16 61# define RGBLIGHT_HUE_STEP 16
59# define RGBLIGHT_SAT_STEP 16 62# define RGBLIGHT_SAT_STEP 16
60# define RGBLIGHT_VAL_STEP 16 63# define RGBLIGHT_VAL_STEP 16
61# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ 64# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
62# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ 65# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
63 /*== all animations enable ==*/ 66/*== all animations enable ==*/
64# define RGBLIGHT_ANIMATIONS 67# define RGBLIGHT_ANIMATIONS
65/*== or choose animations ==*/ 68/*== or choose animations ==*/
66//# define RGBLIGHT_EFFECT_BREATHING 69//# define RGBLIGHT_EFFECT_BREATHING
67//# define RGBLIGHT_EFFECT_RAINBOW_MOOD 70//# define RGBLIGHT_EFFECT_RAINBOW_MOOD