forked from mirror/qmk_firmware
Migrate RGB Matrix config to info.json (#22998)
This commit is contained in:
@@ -20,7 +20,4 @@
|
||||
#define SNLED27351_I2C_ADDRESS_1 SNLED27351_I2C_ADDRESS_VDDIO
|
||||
#define SNLED27351_I2C_ADDRESS_2 SNLED27351_I2C_ADDRESS_GND
|
||||
|
||||
/* RGB Matrix Configuration */
|
||||
#define RGB_MATRIX_LED_COUNT 61
|
||||
|
||||
#define SNLED27351_PHASE_CHANNEL SNLED27351_SCAN_PHASE_9_CHANNEL
|
||||
|
||||
@@ -18,6 +18,3 @@
|
||||
|
||||
/* RGB Matrix Driver Configuration */
|
||||
#define SNLED27351_I2C_ADDRESS_1 SNLED27351_I2C_ADDRESS_GND
|
||||
|
||||
/* RGB Matrix Configuration */
|
||||
#define RGB_MATRIX_LED_COUNT 61
|
||||
|
||||
@@ -16,11 +16,5 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
/* turn off effects when suspended */
|
||||
#define RGB_MATRIX_SLEEP
|
||||
|
||||
#define SNLED27351_CURRENT_TUNE \
|
||||
{ 0xCA, 0xCA, 0x60, 0xCA, 0xCA, 0x60, 0xCA, 0xCA, 0x60, 0xCA, 0xCA, 0x60 }
|
||||
|
||||
#define RGB_MATRIX_KEYPRESSES
|
||||
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
||||
@@ -56,7 +56,8 @@
|
||||
"splash": true,
|
||||
"typing_heatmap": true
|
||||
},
|
||||
"driver": "snled27351"
|
||||
"driver": "snled27351",
|
||||
"sleep": true
|
||||
},
|
||||
"url": "https://github.com/Keychron",
|
||||
"usb": {
|
||||
|
||||
@@ -19,8 +19,5 @@
|
||||
/* RGB Matrix Driver Configuration */
|
||||
#define SNLED27351_I2C_ADDRESS_1 SNLED27351_I2C_ADDRESS_GND
|
||||
|
||||
/* RGB Matrix Configuration */
|
||||
#define RGB_MATRIX_LED_COUNT 62
|
||||
|
||||
/* Enable CapsLcok LED*/
|
||||
#define CAPS_LOCK_LED_INDEX 27
|
||||
|
||||
Reference in New Issue
Block a user