Skip to content

Commit ed70d46

Browse files
drashnamechlovin
authored andcommitted
Fix RGB/LED Suspend defines (qmk#13146)
1 parent 1d9dcb5 commit ed70d46

File tree

82 files changed

+180
-195
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+180
-195
lines changed

keyboards/basekeys/trifecta/config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@
8080
# define RGB_MATRIX_KEYPRESSES // reacts to keypresses
8181
// # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)
8282
// # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
83-
//# define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
83+
//# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
8484
# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
8585
# define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness)
8686
# define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness)
87-
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash.
87+
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash.
8888
# define RGB_MATRIX_HUE_STEP 8
8989
# define RGB_MATRIX_SAT_STEP 8
9090
# define RGB_MATRIX_VAL_STEP 8

keyboards/bm40hsrgb/config.h

100755100644
File mode changed.

keyboards/bm68rgb/keymaps/peepeetee/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
// #define RGBLIGHT_SAT_STEP 25 // Units to step when in/decreasing saturation
6565
// #define RGBLIGHT_VAL_STEP 12 // Units to step when in/decreasing value (brightness)
6666
// #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
67-
// #define RGB_DISABLE_WHEN_USB_SUSPENDED false // turn off effects when suspended
67+
// #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
6868
// #define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness)
6969
// #define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness)
7070
// #define RGBLIGHT_ANIMATIONS // Run RGB animations

keyboards/boardsource/the_mark/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
5959
#define DRIVER_LED_TOTAL 24 // Number of LEDs
6060
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200
6161
# ifndef RGB_DISABLE_WHEN_USB_SUSPENDED
62-
# define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
62+
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
6363
# endif
6464
#endif
6565

keyboards/crkbd/keymaps/devdev/config.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
3232

3333
#define CUSTOM_FONT
3434

35-
#define CUSTOM_LAYER_READ //if you remove this it causes issues - needs better guarding
35+
#define CUSTOM_LAYER_READ //if you remove this it causes issues - needs better guarding
3636

3737
#define TAPPING_FORCE_HOLD
3838
#define TAPPING_TERM 200
@@ -43,7 +43,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
4343

4444
#ifdef RGBLIGHT_ENABLE
4545
#undef RGBLED_NUM
46-
46+
4747
//#define RGBLIGHT_ANIMATIONS
4848
#define RGBLIGHT_EFFECT_BREATHING
4949
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
@@ -55,11 +55,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
5555
//#define RGBLIGHT_EFFECT_RGB_TEST
5656
//#define RGBLIGHT_EFFECT_ALTERNATING
5757
//#define RGBLIGHT_EFFECT_TWINKLE
58-
58+
5959
//#define RGBLED_NUM 54
6060
//#define RGBLED_SPLIT 27
61-
//#define RGBLED_SPLIT { 27, 27 } // haven't figured out how to use this yet
62-
61+
//#define RGBLED_SPLIT { 27, 27 } // haven't figured out how to use this yet
62+
6363
#define RGBLED_NUM 27
6464
#define RGBLIGHT_LIMIT_VAL 120
6565
#define RGBLIGHT_HUE_STEP 10
@@ -71,11 +71,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
7171
# define RGB_MATRIX_KEYPRESSES // reacts to keypresses
7272
// # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)
7373
// # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
74-
# define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
74+
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
7575
# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
7676
// # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness)
7777
// # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness)
78-
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash.
78+
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash.
7979

8080
#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_GRADIENT_LEFT_RIGHT
8181

keyboards/crkbd/keymaps/gotham/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
#ifdef RGB_MATRIX_ENABLE
4141
# define RGB_MATRIX_KEYPRESSES // reacts to keypresses
42-
# define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
42+
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
4343
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash.
4444
# define RGB_MATRIX_HUE_STEP 32
4545
# define RGB_MATRIX_SAT_STEP 64

keyboards/crkbd/keymaps/kidbrazil/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
5656
//# define RGB_MATRIX_KEYPRESSES // reacts to keypresses
5757
// # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)
5858
// # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
59-
#define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
59+
#define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
6060
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
6161
// # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness)
6262
// # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness)

keyboards/crkbd/keymaps/rpbaptist/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
4242
#define NO_ACTION_ONESHOT
4343

4444
#ifdef RGB_MATRIX_ENABLE
45-
# define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
45+
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
4646
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150
4747

4848
# define RGB_MATRIX_HUE_STEP 8

keyboards/crkbd/keymaps/soundmonster/config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
5959
# define RGB_MATRIX_KEYPRESSES // reacts to keypresses
6060
// # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)
6161
// # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
62-
# define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
62+
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
6363
# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
6464
# define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness)
6565
# define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness)
66-
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash.
66+
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash.
6767
# define RGB_MATRIX_HUE_STEP 8
6868
# define RGB_MATRIX_SAT_STEP 8
6969
# define RGB_MATRIX_VAL_STEP 8

keyboards/crkbd/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ And in your `config.h` file, add the following:
4444
# define RGB_MATRIX_KEYPRESSES // reacts to keypresses
4545
// # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)
4646
// # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
47-
# define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
47+
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
4848
# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
4949
// # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness)
5050
// # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness)

keyboards/dztech/dz60rgb/v1/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
#ifdef RGB_MATRIX_ENABLE
3939
# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
40-
# define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
40+
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
4141
# define RGB_MATRIX_KEYPRESSES
4242
# define RGB_MATRIX_LED_PROCESS_LIMIT 4
4343
# define RGB_MATRIX_LED_FLUSH_LIMIT 26

keyboards/dztech/dz60rgb/v2/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
#ifdef RGB_MATRIX_ENABLE
3939
# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
40-
# define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
40+
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
4141
# define RGB_MATRIX_KEYPRESSES
4242
# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
4343
# define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN

keyboards/dztech/dz60rgb_ansi/v1/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
#ifdef RGB_MATRIX_ENABLE
3939
# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
40-
# define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
40+
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
4141
# define RGB_MATRIX_KEYPRESSES
4242
# define RGB_MATRIX_LED_PROCESS_LIMIT 4
4343
# define RGB_MATRIX_LED_FLUSH_LIMIT 26

keyboards/dztech/dz60rgb_ansi/v2/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
#ifdef RGB_MATRIX_ENABLE
3939
# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
40-
# define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
40+
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
4141
# define RGB_MATRIX_KEYPRESSES
4242
# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
4343
# define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN

keyboards/dztech/dz60rgb_wkl/v1/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
#ifdef RGB_MATRIX_ENABLE
3939
# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
40-
# define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
40+
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
4141
# define RGB_MATRIX_KEYPRESSES
4242
# define RGB_MATRIX_LED_PROCESS_LIMIT 4
4343
# define RGB_MATRIX_LED_FLUSH_LIMIT 26

keyboards/dztech/dz60rgb_wkl/v2/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
#ifdef RGB_MATRIX_ENABLE
3939
# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
40-
# define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
40+
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
4141
# define RGB_MATRIX_KEYPRESSES
4242
# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
4343
# define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN

keyboards/dztech/dz65rgb/v1/config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@
5151
# define RGB_MATRIX_LED_FLUSH_LIMIT 26
5252
# define DEBOUNCE 3
5353
# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
54-
# define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
54+
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
5555
# define RGB_MATRIX_KEYPRESSES
56-
# define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN
56+
# define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN
5757
# define DISABLE_RGB_MATRIX_BAND_SAT
5858
# define DISABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
5959
# define DISABLE_RGB_MATRIX_BAND_SPIRAL_SAT

keyboards/dztech/dz65rgb/v2/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
# define RGB_MATRIX_LED_FLUSH_LIMIT 26
5252
# define DEBOUNCE 3
5353
# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
54-
# define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
54+
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
5555
# define RGB_MATRIX_KEYPRESSES
5656
# define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN
5757
# define DISABLE_RGB_MATRIX_BAND_SAT

keyboards/ergodox_ez/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
129129
#define RGB_MATRIX_LED_PROCESS_LIMIT 5
130130
#define RGB_MATRIX_LED_FLUSH_LIMIT 26
131131

132-
#define RGB_DISABLE_WHEN_USB_SUSPENDED true
132+
#define RGB_DISABLE_WHEN_USB_SUSPENDED
133133

134134
// #define RGBLIGHT_COLOR_LAYER_0 0x00, 0x00, 0xFF
135135
/* #define RGBLIGHT_COLOR_LAYER_1 0x00, 0x00, 0xFF */

keyboards/ergodox_ez/keymaps/hacker_dvorak/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#undef IGNORE_MOD_TAP_INTERRUPT
1515
#define IGNORE_MOD_TAP_INTERRUPT
1616

17-
#define RGB_DISABLE_WHEN_USB_SUSPENDED true
17+
#define RGB_DISABLE_WHEN_USB_SUSPENDED
1818

1919
#undef FORCE_NKRO
2020
#define FORCE_NKRO

keyboards/geekboards/macropad_v2/config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#define WS2812_DMA_CHANNEL 3
4242

4343
#ifdef RGB_MATRIX_ENABLE
44-
#define RGB_MATRIX_KEYPRESSES
44+
#define RGB_MATRIX_KEYPRESSES
4545
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
4646
#define DISABLE_RGB_MATRIX_ALPHAS_MODS
4747
#define DISABLE_RGB_MATRIX_BAND_SAT
@@ -67,7 +67,7 @@
6767
#define RGB_MATRIX_STARTUP_SPD 30
6868
#endif //RGB_MATRIX_ENABLE
6969

70-
#define RGB_DISABLE_WHEN_USB_SUSPENDED true
70+
#define RGB_DISABLE_WHEN_USB_SUSPENDED
7171
#define WAIT_FOR_USB
7272

7373
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */

keyboards/geekboards/tester/config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#define DEBOUNCE 3
2525
#ifdef RGB_MATRIX_ENABLE
2626
#define RGB_DISABLE_AFTER_TIMEOUT 0
27-
#define RGB_DISABLE_WHEN_USB_SUSPENDED true
27+
#define RGB_DISABLE_WHEN_USB_SUSPENDED
2828
#define RGB_MATRIX_KEYPRESSES
2929
#define DISABLE_RGB_MATRIX_SPLASH
3030
#define DISABLE_RGB_MATRIX_MULTISPLASH
@@ -36,4 +36,4 @@
3636
#define DRIVER_1_LED_TOTAL 8
3737
#define DRIVER_2_LED_TOTAL 0
3838
#define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
39-
#endif
39+
#endif

keyboards/handwired/colorlice/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
4949
/* RGB LEDs */
5050
#define RGB_DI_PIN B1
5151
#define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
52-
#define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
52+
#define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
5353
#define RGB_MATRIX_KEYPRESSES
5454
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
5555
#define RGB_MATRIX_LED_PROCESS_LIMIT 4

keyboards/handwired/hnah40rgb/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
6060
#define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)
6161
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
6262
#define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
63-
#define RGB_DISABLE_WHEN_USB_SUSPENDED false // turn off effects when suspended
63+
// #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
6464
#define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness)
6565
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255
6666
#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_PINWHEEL // Sets the default mode, if none has been set

keyboards/handwired/p65rgb/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
4040

4141
#define RGB_DI_PIN B4
4242
#define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
43-
#define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
43+
#define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
4444
#define RGB_MATRIX_KEYPRESSES
4545
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
4646
#define RGB_MATRIX_LED_PROCESS_LIMIT 4

keyboards/helix/rev3_4rows/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
6868
# define RGB_MATRIX_KEYPRESSES // reacts to keypresses
6969
// # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)
7070
// # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
71-
# define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
71+
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
7272
# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
7373
// # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness)
7474
// # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness)

keyboards/helix/rev3_5rows/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
6868
# define RGB_MATRIX_KEYPRESSES // reacts to keypresses
6969
// # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)
7070
// # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
71-
# define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
71+
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
7272
# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
7373
// # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness)
7474
// # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness)

keyboards/hs60/v1/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
118118
//#define RGB_MATRIX_KEYPRESSES // reacts to keypresses (will slow down matrix scan by a lot)
119119

120120
#define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
121-
#define RGB_DISABLE_WHEN_USB_SUSPENDED false // turn off effects when suspended
121+
// #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
122122
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 215
123123

124124
#define DRIVER_ADDR_1 0b1110100

keyboards/kbdfans/bella/rgb/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
/* disable these deprecated features by default */
3838
#ifdef RGB_MATRIX_ENABLE
3939
#define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
40-
#define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
40+
#define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
4141
#define RGB_MATRIX_KEYPRESSES
4242
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
4343
#define RGB_MATRIX_LED_PROCESS_LIMIT 4

keyboards/kbdfans/bella/rgb_iso/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
/* disable these deprecated features by default */
3838
#ifdef RGB_MATRIX_ENABLE
3939
#define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
40-
#define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
40+
#define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
4141
#define RGB_MATRIX_KEYPRESSES
4242
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
4343
#define RGB_MATRIX_LED_PROCESS_LIMIT 4

keyboards/kbdfans/kbd67/mkiirgb/v1/config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
#define RGB_MATRIX_LED_FLUSH_LIMIT 26
1717
#define DEBOUNCE 3
1818
#define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
19-
#define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
19+
#define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
2020
#define RGB_MATRIX_KEYPRESSES
21-
#define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN
21+
#define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN
2222
#define DISABLE_RGB_MATRIX_BAND_SAT
2323
#define DISABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
2424
#define DISABLE_RGB_MATRIX_BAND_SPIRAL_SAT

keyboards/kbdfans/kbd67/mkiirgb/v2/config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
#define RGB_MATRIX_LED_FLUSH_LIMIT 26
1717
#define DEBOUNCE 3
1818
#define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
19-
#define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
19+
#define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
2020
#define RGB_MATRIX_KEYPRESSES
2121
#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_ALL
22-
#define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN
22+
#define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN
2323
#define DISABLE_RGB_MATRIX_BAND_SAT
2424
#define DISABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
2525
#define DISABLE_RGB_MATRIX_BAND_SPIRAL_SAT

0 commit comments

Comments
 (0)