summaryrefslogtreecommitdiff
path: root/keyboards/skyloong/gk61/v1
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/skyloong/gk61/v1')
-rw-r--r--keyboards/skyloong/gk61/v1/config.h17
-rw-r--r--keyboards/skyloong/gk61/v1/info.json2
-rw-r--r--keyboards/skyloong/gk61/v1/v1.c4
3 files changed, 5 insertions, 18 deletions
diff --git a/keyboards/skyloong/gk61/v1/config.h b/keyboards/skyloong/gk61/v1/config.h
index f648bf80d4..153bd8d0eb 100644
--- a/keyboards/skyloong/gk61/v1/config.h
+++ b/keyboards/skyloong/gk61/v1/config.h
@@ -15,22 +15,9 @@
*/
#pragma once
-/*
- * RGB matrix driver config (CKLED2001)
- *
- * This is a 7-bit address, that gets left-shifted and bit 0
- * set to 0 for write, 1 for read (as per I2C protocol)
- * The address will vary depending on your wiring:
- * 00 <-> GND
- * 01 <-> SCL
- * 10 <-> SDA
- * 11 <-> VCC
- * ADDR/CS represents A1:A0 of the 7-bit address.
- * The result is: 0b11101(ADDR/CS)
- */
-#define DRIVER_ADDR_1 0b1110100
+#define DRIVER_ADDR_1 SNLED27351_I2C_ADDRESS_GND
-#define DRIVER_COUNT 1
+#define SNLED27351_DRIVER_COUNT 1
#define RGB_MATRIX_LED_COUNT 64
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS //Enable frame effects
diff --git a/keyboards/skyloong/gk61/v1/info.json b/keyboards/skyloong/gk61/v1/info.json
index 8e30cc3bc0..6015efa12c 100644
--- a/keyboards/skyloong/gk61/v1/info.json
+++ b/keyboards/skyloong/gk61/v1/info.json
@@ -42,7 +42,7 @@
"splash": true,
"solid_splash": true
},
- "driver": "ckled2001",
+ "driver": "snled27351",
"hue_steps": 20,
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0, "flags": 4},
diff --git a/keyboards/skyloong/gk61/v1/v1.c b/keyboards/skyloong/gk61/v1/v1.c
index 5fed5701b2..cb3772f6b4 100644
--- a/keyboards/skyloong/gk61/v1/v1.c
+++ b/keyboards/skyloong/gk61/v1/v1.c
@@ -17,8 +17,8 @@
#ifdef RGB_MATRIX_ENABLE
-const ckled2001_led PROGMEM g_ckled2001_leds[RGB_MATRIX_LED_COUNT] = {
-/* Refer to CKLED2001 manual for these locations
+const snled27351_led_t PROGMEM g_snled27351_leds[RGB_MATRIX_LED_COUNT] = {
+/* Refer to SNLED27351 manual for these locations
* driver
* | R location
* | | G location