summaryrefslogtreecommitdiff
path: root/keyboards/keychron/q11
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-02-14 00:54:14 +0000
committerGitHub <noreply@github.com>2024-02-14 00:54:14 +0000
commit974e98ce59f7df1e1a2d8ef65d9a4e758db62b58 (patch)
treeb560bd013d9d17f7155331eb9763ecd009102766 /keyboards/keychron/q11
parentc8c55e32201a04ac8845a799d47d3539764105a1 (diff)
Migrate RGB Matrix config to info.json (#22998)
Diffstat (limited to 'keyboards/keychron/q11')
-rwxr-xr-xkeyboards/keychron/q11/ansi_encoder/config.h3
-rwxr-xr-xkeyboards/keychron/q11/config.h9
-rwxr-xr-xkeyboards/keychron/q11/info.json3
-rwxr-xr-xkeyboards/keychron/q11/iso_encoder/config.h3
4 files changed, 2 insertions, 16 deletions
diff --git a/keyboards/keychron/q11/ansi_encoder/config.h b/keyboards/keychron/q11/ansi_encoder/config.h
index 60bdc493de..08632f0ce7 100755
--- a/keyboards/keychron/q11/ansi_encoder/config.h
+++ b/keyboards/keychron/q11/ansi_encoder/config.h
@@ -16,8 +16,5 @@
#pragma once
-/* RGB Matrix Configuration */
-#define RGB_MATRIX_LED_COUNT 89
-
/* Enable caps-lock LED */
#define CAPS_LOCK_LED_INDEX 23
diff --git a/keyboards/keychron/q11/config.h b/keyboards/keychron/q11/config.h
index 184785ed98..a00e550d09 100755
--- a/keyboards/keychron/q11/config.h
+++ b/keyboards/keychron/q11/config.h
@@ -39,15 +39,6 @@
/* Encoder Configuration */
#define ENCODER_DEFAULT_POS 0x3
-/* Disable RGB lighting when PC is in suspend */
-#define RGB_MATRIX_SLEEP
-
-// RGB Matrix Animation modes. Explicitly enabled
-// For full list of effects, see:
-// https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
-#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
-#define RGB_MATRIX_KEYPRESSES
-
// Needed as the master side could enter slave state during poweron
// of host, due to missing VUSB detection.
#define SPLIT_WATCHDOG_ENABLE
diff --git a/keyboards/keychron/q11/info.json b/keyboards/keychron/q11/info.json
index 8b962e4a76..bd3bbd1999 100755
--- a/keyboards/keychron/q11/info.json
+++ b/keyboards/keychron/q11/info.json
@@ -90,7 +90,8 @@
"solid_reactive_multinexus": true,
"splash": true,
"solid_splash": true
- }
+ },
+ "sleep": true
},
"layouts": {
"LAYOUT_91_ansi": {
diff --git a/keyboards/keychron/q11/iso_encoder/config.h b/keyboards/keychron/q11/iso_encoder/config.h
index 57baea4c69..08632f0ce7 100755
--- a/keyboards/keychron/q11/iso_encoder/config.h
+++ b/keyboards/keychron/q11/iso_encoder/config.h
@@ -16,8 +16,5 @@
#pragma once
-/* RGB Matrix Configuration */
-#define RGB_MATRIX_LED_COUNT 90
-
/* Enable caps-lock LED */
#define CAPS_LOCK_LED_INDEX 23