From b454e0c17b3c84e51a395e42382e2da0c9a0164a Mon Sep 17 00:00:00 2001 From: matth Date: Tue, 1 Oct 2019 11:56:01 -0600 Subject: [PATCH] updaded matt xd87 --- keyboards/xd87/config.h | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/keyboards/xd87/config.h b/keyboards/xd87/config.h index 2e3db96edc..b0d07f0344 100644 --- a/keyboards/xd87/config.h +++ b/keyboards/xd87/config.h @@ -50,7 +50,26 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW +//Default, full functionality, has flickering +#define BACKLIGHT_PIN D0 +#define BACKLIGHT_LEVELS 5 +#define BACKLIGHT_BREATHING + +/* +//No defined pin, no wired mod or flickering, but zero functionality. LEDs are just on full force and can't change levels or toggle on/off +//#define BACKLIGHT_PIN D0 +*/ + + /* +//With the wire mod, allows the board to use pin B7. No flickering! However, all backlight levels are the same, so only can toggle lights on and off +#define BACKLIGHT_PIN B7 +#define BACKLIGHT_LEVELS 1 +*/ + + +/* +//Experimental. With the wire mod, I was hoping I could get the no flickering of B7 and functionality of D0. Doesn't work, still flickers #define BACKLIGHT_LED_COUNT 2 #undef BACKLIGHT_PIN #define BACKLIGHT_PINS { B7, D0 } @@ -59,11 +78,8 @@ along with this program. If not, see . */ -#define BACKLIGHT_PIN D0 -#define BACKLIGHT_LEVELS 5 - - /* +//With the default setting the RGB underglow works perfectly. However, can't see them at all in the case, so I just don't use them. #define RGB_DI_PIN B7 #ifdef RGB_DI_PIN #define RGBLIGHT_ANIMATIONS