Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated RGB Matrix suspend define part 3 #13954

Merged
merged 3 commits into from
Aug 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions keyboards/bastardkb/skeletyl/config.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* Copyright 2021 Quentin LEBASTARD <qlebastard@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
Expand Down Expand Up @@ -50,8 +50,6 @@
# define RGB_MATRIX_SPLIT { 18, 18 }
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50
# define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
# ifndef RGB_DISABLE_WHEN_USB_SUSPENDED
# define RGB_DISABLE_WHEN_USB_SUSPENDED true
# endif
# define RGB_DISABLE_WHEN_USB_SUSPENDED
# define RGB_MATRIX_KEYPRESSES
#endif
10 changes: 5 additions & 5 deletions keyboards/dztech/dz60rgb_wkl/v2_1/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

#ifdef RGB_MATRIX_ENABLE
# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
# define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
# define RGB_MATRIX_KEYPRESSES
# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
# define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN
Expand All @@ -71,9 +71,9 @@
# define DISABLE_RGB_MATRIX_SOLID_SPLASH
# define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH
# define DISABLE_RGB_MATRIX_DIGITAL_RAIN
# define DRIVER_ADDR_1 0b1010000
# define DRIVER_ADDR_2 0b1010000 // this is here for compliancy reasons.
# define DRIVER_COUNT 2
# define DRIVER_ADDR_1 0b1010000
# define DRIVER_ADDR_2 0b1010000 // this is here for compliancy reasons.
# define DRIVER_COUNT 2
# define DRIVER_1_LED_TOTAL 62
# define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL
# define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL
#endif
2 changes: 1 addition & 1 deletion keyboards/gmmk/pro/ansi/keymaps/paddlegame/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#ifdef RGB_MATRIX_ENABLE
#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_SOLID_COLOR
#define RGB_DISABLE_WHEN_USB_SUSPENDED true
# define RGB_DISABLE_WHEN_USB_SUSPENDED
#endif

#define FORCE_NKRO
2 changes: 1 addition & 1 deletion keyboards/gmmk/pro/keymaps/mike1808/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#define COMBO_TERM 100

#define RGB_MATRIX_KEYPRESSES
#define RGB_DISABLE_WHEN_USB_SUSPENDED true
#define RGB_DISABLE_WHEN_USB_SUSPENDED
#define RGB_DISABLE_TIMEOUT 90000

#define MACRO_TIMER 5
Expand Down
13 changes: 4 additions & 9 deletions keyboards/kbdfans/kbd67/mkiirgb/keymaps/pascalpfeil/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,10 @@
#define QMK_KEYS_PER_SCAN 4

/* Force NKRO on boot up */
#define FORCE_NKRO

#define FORCE_NKRO

#ifdef RGB_MATRIX_ENABLE

#undef RGB_DISABLE_WHEN_USB_SUSPENDED
#define RGB_DISABLE_WHEN_USB_SUSPENDED true

#undef RGB_DISABLE_TIMEOUT
#define RGB_DISABLE_TIMEOUT 900000

# define RGB_DISABLE_WHEN_USB_SUSPENDED
# undef RGB_DISABLE_TIMEOUT
# define RGB_DISABLE_TIMEOUT 900000
#endif
2 changes: 1 addition & 1 deletion keyboards/kbdfans/kbd67/mkiirgb/v3/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
#define NO_ACTION_FUNCTION
#ifdef RGB_MATRIX_ENABLE
#define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
#define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
#define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
#define USB_SUSPEND_WAKEUP_DELAY 5000
#define RGB_MATRIX_KEYPRESSES
#define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN
Expand Down
4 changes: 2 additions & 2 deletions keyboards/lfkeyboards/lfkpad/keymaps/pascalpfeil/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
#define QMK_KEYS_PER_SCAN 4

/* Force NKRO on boot up */
#define FORCE_NKRO
#define FORCE_NKRO

#define RGB_DISABLE_WHEN_USB_SUSPENDED true
#define RGB_DISABLE_WHEN_USB_SUSPENDED

#define RGB_DISABLE_TIMEOUT 900000
20 changes: 10 additions & 10 deletions keyboards/owlab/voice65/hotswap/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,17 +70,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# define USE_I2CV2
# define RGB_MATRIX_DISABLE_KEYCODES
# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
# define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
# define RGB_MATRIX_KEYPRESSES
# define RGB_MATRIX_LED_PROCESS_LIMIT 4
# define RGB_MATRIX_LED_FLUSH_LIMIT 26
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200
# define RGB_MATRIX_STARTUP_VAL 128
# define DRIVER_ADDR_1 0b0110000
# define DRIVER_ADDR_2 0b0110000
# define DRIVER_COUNT 2
# define DRIVER_1_LED_TOTAL 67
# define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL
# define RGB_MATRIX_LED_PROCESS_LIMIT 4
# define RGB_MATRIX_LED_FLUSH_LIMIT 26
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200
# define RGB_MATRIX_STARTUP_VAL 128
# define DRIVER_ADDR_1 0b0110000
# define DRIVER_ADDR_2 0b0110000
# define DRIVER_COUNT 2
# define DRIVER_1_LED_TOTAL 67
# define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL
#endif

/* Encoder */
Expand Down
20 changes: 10 additions & 10 deletions keyboards/owlab/voice65/soldered/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,17 +69,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# define USE_I2CV2
# define RGB_MATRIX_DISABLE_KEYCODES
# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
# define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
# define RGB_MATRIX_KEYPRESSES
# define RGB_MATRIX_LED_PROCESS_LIMIT 4
# define RGB_MATRIX_LED_FLUSH_LIMIT 26
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200
# define RGB_MATRIX_STARTUP_VAL 128
# define DRIVER_ADDR_1 0b0110000
# define DRIVER_ADDR_2 0b0110000
# define DRIVER_COUNT 2
# define DRIVER_1_LED_TOTAL 71
# define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL
# define RGB_MATRIX_LED_PROCESS_LIMIT 4
# define RGB_MATRIX_LED_FLUSH_LIMIT 26
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200
# define RGB_MATRIX_STARTUP_VAL 128
# define DRIVER_ADDR_1 0b0110000
# define DRIVER_ADDR_2 0b0110000
# define DRIVER_COUNT 2
# define DRIVER_1_LED_TOTAL 71
# define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL
#endif

/* Encoder */
Expand Down
2 changes: 1 addition & 1 deletion users/jonavin/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@

#ifdef RGB_MATRIX_ENABLE
#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_SOLID_COLOR
#define RGB_DISABLE_WHEN_USB_SUSPENDED true
# define RGB_DISABLE_WHEN_USB_SUSPENDED
#endif