[Keymap] Disable in-switch RGB when computer goes to bed (#14993)

master
MechMerlin 2021-10-30 21:17:42 -07:00 committed by GitHub
parent 32d18f2857
commit 1351dfff08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 2 deletions

View File

@ -1,6 +1,10 @@
# Changelog # Changelog
All notable changes to my userspace will be documented in this file. All notable changes to my userspace will be documented in this file.
## [0.4.1] - 2021-10-30
### Added
- `RGB_DISABLE_WHEN_USB_SUSPENDED` added in `config.h`. Couple of my boards now have per key RGB and have been staying on when my computer sleeps.
## [0.4.0] - 2021-10-05 ## [0.4.0] - 2021-10-05
### Added ### Added

View File

@ -5,6 +5,10 @@
#define RGBLIGHT_ANIMATIONS #define RGBLIGHT_ANIMATIONS
#endif // RGBLIGHT_ENABLE #endif // RGBLIGHT_ENABLE
#ifdef RGB_MATRIX_ENABLE
#define RGB_DISABLE_WHEN_USB_SUSPENDED
#endif
#ifdef AUDIO_CLICKY #ifdef AUDIO_CLICKY
#define AUDIO_CLICKY_ON #define AUDIO_CLICKY_ON
#define AUDIO_CLICKY_FREQ_DEFAULT 261.63f #define AUDIO_CLICKY_FREQ_DEFAULT 261.63f

View File

@ -39,9 +39,9 @@ Output the version of QMK Firmware on device.
## QMK Features ## QMK Features
---- ----
### RGBLIGHT_SLEEP ### RGBLIGHT_SLEEP and RGB_DISABLE_WHEN_USB_SUSPENDED
Ensures that when my computer is in sleep mode, the keyboard underglow lights will also be off. Ensures that when my computer is in sleep mode, the keyboard underglow and inswitch RGB lights will also be off.
### Audio Clicky ### Audio Clicky