diff options
author | Joel Challis <[email protected]> | 2024-02-14 00:54:14 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-02-14 00:54:14 +0000 |
commit | 974e98ce59f7df1e1a2d8ef65d9a4e758db62b58 (patch) | |
tree | b560bd013d9d17f7155331eb9763ecd009102766 /keyboards/keychron/q2 | |
parent | c8c55e32201a04ac8845a799d47d3539764105a1 (diff) | |
download | qmk_firmware-974e98ce59f7df1e1a2d8ef65d9a4e758db62b58.tar.gz qmk_firmware-974e98ce59f7df1e1a2d8ef65d9a4e758db62b58.zip |
Migrate RGB Matrix config to info.json (#22998)
Diffstat (limited to 'keyboards/keychron/q2')
-rw-r--r-- | keyboards/keychron/q2/ansi/config.h | 3 | ||||
-rw-r--r-- | keyboards/keychron/q2/ansi_encoder/config.h | 3 | ||||
-rw-r--r-- | keyboards/keychron/q2/config.h | 6 | ||||
-rw-r--r-- | keyboards/keychron/q2/info.json | 3 | ||||
-rw-r--r-- | keyboards/keychron/q2/iso/config.h | 3 | ||||
-rw-r--r-- | keyboards/keychron/q2/iso_encoder/config.h | 3 |
6 files changed, 2 insertions, 19 deletions
diff --git a/keyboards/keychron/q2/ansi/config.h b/keyboards/keychron/q2/ansi/config.h index 41b92074be..1850088b1f 100644 --- a/keyboards/keychron/q2/ansi/config.h +++ b/keyboards/keychron/q2/ansi/config.h @@ -16,8 +16,5 @@ #pragma once -/* RGB Matrix Configuration */ -#define RGB_MATRIX_LED_COUNT 67 - /* Enable caps-lock LED */ #define CAPS_LOCK_LED_INDEX 30
\ No newline at end of file diff --git a/keyboards/keychron/q2/ansi_encoder/config.h b/keyboards/keychron/q2/ansi_encoder/config.h index 41b92074be..1850088b1f 100644 --- a/keyboards/keychron/q2/ansi_encoder/config.h +++ b/keyboards/keychron/q2/ansi_encoder/config.h @@ -16,8 +16,5 @@ #pragma once -/* RGB Matrix Configuration */ -#define RGB_MATRIX_LED_COUNT 67 - /* Enable caps-lock LED */ #define CAPS_LOCK_LED_INDEX 30
\ No newline at end of file diff --git a/keyboards/keychron/q2/config.h b/keyboards/keychron/q2/config.h index e55d78afd5..8b446442cb 100644 --- a/keyboards/keychron/q2/config.h +++ b/keyboards/keychron/q2/config.h @@ -24,11 +24,5 @@ #define SNLED27351_PHASE_CHANNEL SNLED27351_SCAN_PHASE_9_CHANNEL -/* turn off effects when suspended */ -#define RGB_MATRIX_SLEEP - /* Encoder Configuration*/ #define ENCODER_DEFAULT_POS 0x3 - -#define RGB_MATRIX_KEYPRESSES -#define RGB_MATRIX_FRAMEBUFFER_EFFECTS diff --git a/keyboards/keychron/q2/info.json b/keyboards/keychron/q2/info.json index e18c9b2448..d0bb48d7cb 100644 --- a/keyboards/keychron/q2/info.json +++ b/keyboards/keychron/q2/info.json @@ -54,7 +54,8 @@ "splash": true, "typing_heatmap": true }, - "driver": "snled27351" + "driver": "snled27351", + "sleep": true }, "url": "https://github.com/Keychron", "usb": { diff --git a/keyboards/keychron/q2/iso/config.h b/keyboards/keychron/q2/iso/config.h index b463f7886e..22ddcba3ad 100644 --- a/keyboards/keychron/q2/iso/config.h +++ b/keyboards/keychron/q2/iso/config.h @@ -16,8 +16,5 @@ #pragma once -/* RGB Matrix Configuration */ -#define RGB_MATRIX_LED_COUNT 68 - /* Enable caps-lock LED */ #define CAPS_LOCK_LED_INDEX 29
\ No newline at end of file diff --git a/keyboards/keychron/q2/iso_encoder/config.h b/keyboards/keychron/q2/iso_encoder/config.h index b463f7886e..22ddcba3ad 100644 --- a/keyboards/keychron/q2/iso_encoder/config.h +++ b/keyboards/keychron/q2/iso_encoder/config.h @@ -16,8 +16,5 @@ #pragma once -/* RGB Matrix Configuration */ -#define RGB_MATRIX_LED_COUNT 68 - /* Enable caps-lock LED */ #define CAPS_LOCK_LED_INDEX 29
\ No newline at end of file |