1
0
Fork 0

[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
This commit is contained in:
Louis D 2019-09-02 07:33:04 -07:00 committed by Drashna Jaelre
parent 05d0e8c09e
commit d653e55461
6 changed files with 118 additions and 9 deletions

View file

@ -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