Skip to content

Commit

Permalink
[Keymap] Disable in-switch RGB when computer goes to bed (#14993)
Browse files Browse the repository at this point in the history
  • Loading branch information
mechmerlin committed Oct 31, 2021
1 parent 32d18f2 commit 1351dff
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions users/mechmerlin/changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Changelog
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

### Added
Expand Down
4 changes: 4 additions & 0 deletions users/mechmerlin/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
#define RGBLIGHT_ANIMATIONS
#endif // RGBLIGHT_ENABLE

#ifdef RGB_MATRIX_ENABLE
#define RGB_DISABLE_WHEN_USB_SUSPENDED
#endif

#ifdef AUDIO_CLICKY
#define AUDIO_CLICKY_ON
#define AUDIO_CLICKY_FREQ_DEFAULT 261.63f
Expand Down
4 changes: 2 additions & 2 deletions users/mechmerlin/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ Output the version of QMK Firmware on device.
## 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

Expand Down

0 comments on commit 1351dff

Please sign in to comment.