Migrate rgblight.pin and RGB_DI_PIN to ws2812.pin (#20303)

This commit is contained in:
Ryan 2023-04-06 18:00:54 +10:00 committed by GitHub
parent 71c22a12db
commit 47966dc2a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2600 changed files with 4027 additions and 1909 deletions

View file

@ -11,8 +11,6 @@
#define AUDIO_ENABLE_TONE_MULTIPLEXING
#define AUDIO_TONE_MULTIPLEXING_RATE_DEFAULT 10
// The pin connected to the data pin of the LEDs
#define RGB_DI_PIN F4
// The number of LEDs connected
#define RGB_MATRIX_LED_COUNT 27
#define RGB_MATRIX_CENTER { 60, 77 }

View file

@ -7,6 +7,9 @@
"pid": "0x0004",
"vid": "0x4450"
},
"ws2812": {
"pin": "F4"
},
"matrix_pins": {
"cols": ["D3", "D2", "F5", "F6", "B2"],
"rows": ["D4", "D7", "E6", "B6", "B4", "B5"]

View file

@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define TAP_CODE_DELAY 10
/* Underglow options: */
#define RGB_DI_PIN F1
# define RGBLED_NUM 16
# define RGBLIGHT_HUE_STEP 8
# define RGBLIGHT_SAT_STEP 8

View file

@ -8,6 +8,9 @@
"pid": "0x0001",
"device_version": "1.0.0"
},
"ws2812": {
"pin": "F1"
},
"matrix_pins": {
"cols": ["F6", "F7", "B1", "B3", "B2", "B6", "F0"],
"rows": ["B0", "E6", "D7", "C6", "D4", "D2", "F4", "F5", "B5", "B4"]

View file

@ -6,7 +6,6 @@
#define TAP_CODE_DELAY 10
/* Underglow options: */
#define RGB_DI_PIN F7
# define RGBLED_NUM 16
# define RGBLIGHT_HUE_STEP 8
# define RGBLIGHT_SAT_STEP 8

View file

@ -7,6 +7,9 @@
"pid": "0x0002",
"vid": "0x4450"
},
"ws2812": {
"pin": "F7"
},
"matrix_pins": {
"cols": ["F6", "B7", "B6", "B4", "B5", "D6", "D5", "D3", "D7", "D4", "D2", "D1", "D0", "B0"],
"rows": ["F4", "F5", "C7", "C6"]