summaryrefslogtreecommitdiff
path: root/keyboards/keychron/q5
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/q5
parentc8c55e32201a04ac8845a799d47d3539764105a1 (diff)
Migrate RGB Matrix config to info.json (#22998)
Diffstat (limited to 'keyboards/keychron/q5')
-rw-r--r--keyboards/keychron/q5/config.h3
-rw-r--r--keyboards/keychron/q5/info.json3
2 files changed, 2 insertions, 4 deletions
diff --git a/keyboards/keychron/q5/config.h b/keyboards/keychron/q5/config.h
index 3fa2421999..4d297b223a 100644
--- a/keyboards/keychron/q5/config.h
+++ b/keyboards/keychron/q5/config.h
@@ -33,8 +33,5 @@
#define SNLED27351_CURRENT_TUNE \
{ 0xB6, 0xB6, 0x56, 0xB6, 0xB6, 0x56, 0xB6, 0xB6, 0x56, 0xB6, 0xB6, 0x56 }
-/* turn off effects when suspended */
-#define RGB_MATRIX_SLEEP
-
/* Encoder Configuration*/
#define ENCODER_DEFAULT_POS 0x3 \ No newline at end of file
diff --git a/keyboards/keychron/q5/info.json b/keyboards/keychron/q5/info.json
index f1cdd43c4e..b35996d341 100644
--- a/keyboards/keychron/q5/info.json
+++ b/keyboards/keychron/q5/info.json
@@ -47,7 +47,8 @@
"splash": true,
"typing_heatmap": true
},
- "driver": "snled27351"
+ "driver": "snled27351",
+ "sleep": true
},
"url": "https://github.com/Keychron",
"usb": {