diff options
author | Drashna Jaelre <drashna@live.com> | 2021-08-21 16:46:35 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-22 09:46:35 +1000 |
commit | c5f41d42d8e4dc88b2aeb414aa0d26ad23ad34f1 (patch) | |
tree | 55bd2f93409d31de304eaa7c101009885e08a9bc /keyboards/kbdfans | |
parent | 58a5030661b57f1dd05693053df2eddadc285f64 (diff) |
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 80015f7fb023f27ad5307815fd5433694a3bcb4a.
* Add additional boards/keymaps
Diffstat (limited to 'keyboards/kbdfans')
-rw-r--r-- | keyboards/kbdfans/kbd67/mkiirgb/keymaps/pascalpfeil/config.h | 13 | ||||
-rwxr-xr-x | keyboards/kbdfans/kbd67/mkiirgb/v3/config.h | 2 |
2 files changed, 5 insertions, 10 deletions
diff --git a/keyboards/kbdfans/kbd67/mkiirgb/keymaps/pascalpfeil/config.h b/keyboards/kbdfans/kbd67/mkiirgb/keymaps/pascalpfeil/config.h index e5b7c718a2..2cd513223a 100644 --- a/keyboards/kbdfans/kbd67/mkiirgb/keymaps/pascalpfeil/config.h +++ b/keyboards/kbdfans/kbd67/mkiirgb/keymaps/pascalpfeil/config.h @@ -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 diff --git a/keyboards/kbdfans/kbd67/mkiirgb/v3/config.h b/keyboards/kbdfans/kbd67/mkiirgb/v3/config.h index 6a783f55a5..1ee83cdc94 100755 --- a/keyboards/kbdfans/kbd67/mkiirgb/v3/config.h +++ b/keyboards/kbdfans/kbd67/mkiirgb/v3/config.h @@ -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 |