rgblight fixes
This commit is contained in:
parent
cefa8468fb
commit
f25596b8dc
3 changed files with 8 additions and 6 deletions
|
@ -164,9 +164,11 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|||
// dynamically generate these.
|
||||
case RGB_FF00BB:
|
||||
if (record->event.pressed) {
|
||||
rgblight_enable();
|
||||
rgblight_mode(1);
|
||||
rgblight_setrgb(0xff,0x00,0xbb);
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
rgblight_enable();
|
||||
rgblight_mode(1);
|
||||
rgblight_setrgb(0xff,0x00,0xbb);
|
||||
#endif
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue