From feac994f6fa971b3cc2ba8b3792fe179aa8955c5 Mon Sep 17 00:00:00 2001 From: benlyall Date: Tue, 2 Jan 2018 09:49:26 +1100 Subject: Added support for V60 Type R Polestar backlight and RGB underglow (#1852) * Added V60 Type R Polestar Backlight and RGB Underglow support * made RGB Underglow stuff optional, to support the non Polestar V60 * updated readme and rules * fixed typo in readme --- keyboards/v60_type_r/config.h | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'keyboards/v60_type_r/config.h') diff --git a/keyboards/v60_type_r/config.h b/keyboards/v60_type_r/config.h index c20bfe3a6..1f3ebcd51 100644 --- a/keyboards/v60_type_r/config.h +++ b/keyboards/v60_type_r/config.h @@ -48,10 +48,20 @@ along with this program. If not, see . /* COL2ROW, ROW2COL, or CUSTOM_MATRIX */ #define DIODE_DIRECTION COL2ROW - -// #define BACKLIGHT_PIN B7 -// #define BACKLIGHT_BREATHING -// #define BACKLIGHT_LEVELS 3 + +#define BACKLIGHT_PIN F7 +//#define BACKLIGHT_BREATHING +#define BACKLIGHT_LEVELS 3 +#define BACKLIGHT_ON_STATE 0 + +#define RGBLIGHT_CUSTOM_DRIVER +#define RGBLIGHT_ANIMATIONS +#define RGBLED_NUM 1 +#define RGB_RED_PIN PF6 +#define RGB_GREEN_PIN PF5 +#define RGB_BLUE_PIN PF4 +#define RGB_DI_PIN 0 +#define RGB_STEP 16 /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ -- cgit v1.2.3-24-g4f1b