diff options
author | Louis D <LouWii@users.noreply.github.com> | 2019-09-02 07:33:04 -0700 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-09-02 07:33:04 -0700 |
commit | d653e5546120e42c07196fd85cb2b214bf91a738 (patch) | |
tree | ebcb762742523ddb110246a0359049da62334ad8 /keyboards/xd87/config.h | |
parent | 05d0e8c09eb972e654e15936aa0118add35f6376 (diff) | |
download | firmware-d653e5546120e42c07196fd85cb2b214bf91a738.tar.gz firmware-d653e5546120e42c07196fd85cb2b214bf91a738.tar.bz2 firmware-d653e5546120e42c07196fd85cb2b214bf91a738.zip |
[Keyboard] add rgb led configuration for xd87 (#6635)
* add rgb led configuration for xd87
* Add RGB underglow to a separate keymap
* rename keymap and make small review changes
Diffstat (limited to 'keyboards/xd87/config.h')
-rw-r--r-- | keyboards/xd87/config.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/keyboards/xd87/config.h b/keyboards/xd87/config.h index dae9d3db8..438da93fb 100644 --- a/keyboards/xd87/config.h +++ b/keyboards/xd87/config.h @@ -54,14 +54,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. // #define BACKLIGHT_BREATHING #define BACKLIGHT_LEVELS 3 -// #define RGB_DI_PIN E2 -// #ifdef RGB_DI_PIN -// #define RGBLIGHT_ANIMATIONS -// #define RGBLED_NUM 16 -// #define RGBLIGHT_HUE_STEP 8 -// #define RGBLIGHT_SAT_STEP 8 -// #define RGBLIGHT_VAL_STEP 8 -// #endif +#define RGB_DI_PIN B7 +#ifdef RGB_DI_PIN +#define RGBLIGHT_ANIMATIONS +#define RGBLED_NUM 14 +#define RGBLIGHT_HUE_STEP 8 +#define RGBLIGHT_SAT_STEP 8 +#define RGBLIGHT_VAL_STEP 8 +#endif /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ #define DEBOUNCE 5 |