summaryrefslogtreecommitdiffstats
path: root/users/mechmerlin/config.h
diff options
context:
space:
mode:
authorMechMerlin <30334081+mechmerlin@users.noreply.github.com>2021-10-30 21:17:42 -0700
committerGitHub <noreply@github.com>2021-10-30 21:17:42 -0700
commit1351dfff08e0ba6b8cac2399a51c9f066979caf9 (patch)
treec183e820d368c79fc8bc3969966638642e585505 /users/mechmerlin/config.h
parent32d18f28570eb030331cd0f6e83ea2ab822cd9e5 (diff)
[Keymap] Disable in-switch RGB when computer goes to bed (#14993)
Diffstat (limited to 'users/mechmerlin/config.h')
-rw-r--r--users/mechmerlin/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/users/mechmerlin/config.h b/users/mechmerlin/config.h
index 698e237b01..459c181673 100644
--- a/users/mechmerlin/config.h
+++ b/users/mechmerlin/config.h
@@ -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