Browse Source

Enable RGB Matrix Sleep

pull/5903/head
Drashna Jaelre 5 years ago
parent
commit
356521864e
No known key found for this signature in database GPG Key ID: 4C4221222CD5F9F0
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      keyboards/crkbd/keymaps/drashna/keymap.c

+ 8
- 0
keyboards/crkbd/keymaps/drashna/keymap.c View File

@ -272,6 +272,14 @@ uint16_t get_tapping_term(uint16_t keycode) {
#ifdef RGB_MATRIX_ENABLE
void suspend_power_down_keymap(void) {
rgb_matrix_set_suspend_state(true);
}
void suspend_wakeup_init_keymap(void) {
rgb_matrix_set_suspend_state(false);
}
void rgb_matrix_indicators_user(void) {
if ( userspace_config.rgb_layer_change &&
#ifdef RGB_DISABLE_WHEN_USB_SUSPENDED


Loading…
Cancel
Save