Updated RGB Matrix suspend define part 3 (#13954)
* Updated RGB Matrix suspend define part 3
* Revert "Update config.h for kbdfans/kbd67/mkiirgb/v3 (#13978)"
This reverts commit 80015f7fb0
.
* Add additional boards/keymaps
This commit is contained in:
parent
58a5030661
commit
c5f41d42d8
10 changed files with 37 additions and 44 deletions
|
@ -50,8 +50,6 @@
|
||||||
# define RGB_MATRIX_SPLIT { 18, 18 }
|
# define RGB_MATRIX_SPLIT { 18, 18 }
|
||||||
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50
|
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50
|
||||||
# define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
|
# define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
|
||||||
# ifndef RGB_DISABLE_WHEN_USB_SUSPENDED
|
# define RGB_DISABLE_WHEN_USB_SUSPENDED
|
||||||
# define RGB_DISABLE_WHEN_USB_SUSPENDED true
|
|
||||||
# endif
|
|
||||||
# define RGB_MATRIX_KEYPRESSES
|
# define RGB_MATRIX_KEYPRESSES
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -53,7 +53,7 @@
|
||||||
|
|
||||||
#ifdef RGB_MATRIX_ENABLE
|
#ifdef RGB_MATRIX_ENABLE
|
||||||
# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
|
# 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_KEYPRESSES
|
||||||
# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
||||||
# define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN
|
# define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
#ifdef RGB_MATRIX_ENABLE
|
#ifdef RGB_MATRIX_ENABLE
|
||||||
#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_SOLID_COLOR
|
#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_SOLID_COLOR
|
||||||
#define RGB_DISABLE_WHEN_USB_SUSPENDED true
|
# define RGB_DISABLE_WHEN_USB_SUSPENDED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define FORCE_NKRO
|
#define FORCE_NKRO
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
#define COMBO_TERM 100
|
#define COMBO_TERM 100
|
||||||
|
|
||||||
#define RGB_MATRIX_KEYPRESSES
|
#define RGB_MATRIX_KEYPRESSES
|
||||||
#define RGB_DISABLE_WHEN_USB_SUSPENDED true
|
#define RGB_DISABLE_WHEN_USB_SUSPENDED
|
||||||
#define RGB_DISABLE_TIMEOUT 90000
|
#define RGB_DISABLE_TIMEOUT 90000
|
||||||
|
|
||||||
#define MACRO_TIMER 5
|
#define MACRO_TIMER 5
|
||||||
|
|
|
@ -25,13 +25,8 @@
|
||||||
/* Force NKRO on boot up */
|
/* Force NKRO on boot up */
|
||||||
#define FORCE_NKRO
|
#define FORCE_NKRO
|
||||||
|
|
||||||
|
|
||||||
#ifdef RGB_MATRIX_ENABLE
|
#ifdef RGB_MATRIX_ENABLE
|
||||||
|
# define RGB_DISABLE_WHEN_USB_SUSPENDED
|
||||||
#undef RGB_DISABLE_WHEN_USB_SUSPENDED
|
|
||||||
#define RGB_DISABLE_WHEN_USB_SUSPENDED true
|
|
||||||
|
|
||||||
# undef RGB_DISABLE_TIMEOUT
|
# undef RGB_DISABLE_TIMEOUT
|
||||||
# define RGB_DISABLE_TIMEOUT 900000
|
# define RGB_DISABLE_TIMEOUT 900000
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
#define NO_ACTION_FUNCTION
|
#define NO_ACTION_FUNCTION
|
||||||
#ifdef RGB_MATRIX_ENABLE
|
#ifdef RGB_MATRIX_ENABLE
|
||||||
#define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
|
#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 USB_SUSPEND_WAKEUP_DELAY 5000
|
||||||
#define RGB_MATRIX_KEYPRESSES
|
#define RGB_MATRIX_KEYPRESSES
|
||||||
#define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN
|
#define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN
|
||||||
|
|
|
@ -25,6 +25,6 @@
|
||||||
/* Force NKRO on boot up */
|
/* 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
|
#define RGB_DISABLE_TIMEOUT 900000
|
||||||
|
|
|
@ -70,7 +70,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
# define USE_I2CV2
|
# define USE_I2CV2
|
||||||
# define RGB_MATRIX_DISABLE_KEYCODES
|
# define RGB_MATRIX_DISABLE_KEYCODES
|
||||||
# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
|
# 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_KEYPRESSES
|
||||||
# define RGB_MATRIX_LED_PROCESS_LIMIT 4
|
# define RGB_MATRIX_LED_PROCESS_LIMIT 4
|
||||||
# define RGB_MATRIX_LED_FLUSH_LIMIT 26
|
# define RGB_MATRIX_LED_FLUSH_LIMIT 26
|
||||||
|
|
|
@ -69,7 +69,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
# define USE_I2CV2
|
# define USE_I2CV2
|
||||||
# define RGB_MATRIX_DISABLE_KEYCODES
|
# define RGB_MATRIX_DISABLE_KEYCODES
|
||||||
# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
|
# 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_KEYPRESSES
|
||||||
# define RGB_MATRIX_LED_PROCESS_LIMIT 4
|
# define RGB_MATRIX_LED_PROCESS_LIMIT 4
|
||||||
# define RGB_MATRIX_LED_FLUSH_LIMIT 26
|
# define RGB_MATRIX_LED_FLUSH_LIMIT 26
|
||||||
|
|
|
@ -26,5 +26,5 @@
|
||||||
|
|
||||||
#ifdef RGB_MATRIX_ENABLE
|
#ifdef RGB_MATRIX_ENABLE
|
||||||
#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_SOLID_COLOR
|
#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_SOLID_COLOR
|
||||||
#define RGB_DISABLE_WHEN_USB_SUSPENDED true
|
# define RGB_DISABLE_WHEN_USB_SUSPENDED
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue