summaryrefslogtreecommitdiffstats
path: root/keyboards
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-07-29 15:25:00 +1000
committerGitHub <noreply@github.com>2023-07-29 15:25:00 +1000
commit571b8bac826b12d7b837df8bf8bd8d2787f934b8 (patch)
tree90581471799c78c9b3403840ae1b52f6f8dbae62 /keyboards
parentb4a7b9253a996484b10b4762f7b2fff7c9105c34 (diff)
LED Matrix: driver naming cleanups (#21580)
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/clueboard/66_hotswap/gen1/info.json2
-rwxr-xr-xkeyboards/fallacy/indicators.c12
-rw-r--r--keyboards/input_club/ergodox_infinity/info.json2
-rw-r--r--keyboards/input_club/whitefox/info.json2
-rw-r--r--keyboards/keychron/c1_pro/ansi/white/info.json2
-rw-r--r--keyboards/keychron/c2_pro/ansi/white/info.json2
-rw-r--r--keyboards/keychron/s1/ansi/white/info.json2
-rw-r--r--keyboards/mechlovin/olly/octagon/info.json2
-rw-r--r--keyboards/mechlovin/zed65/mono_led/info.json2
-rw-r--r--keyboards/terrazzo/info.json2
10 files changed, 15 insertions, 15 deletions
diff --git a/keyboards/clueboard/66_hotswap/gen1/info.json b/keyboards/clueboard/66_hotswap/gen1/info.json
index 360f2e0e04..e497594685 100644
--- a/keyboards/clueboard/66_hotswap/gen1/info.json
+++ b/keyboards/clueboard/66_hotswap/gen1/info.json
@@ -17,7 +17,7 @@
"nkro": true
},
"led_matrix": {
- "driver": "IS31FL3731"
+ "driver": "is31fl3731"
},
"matrix_pins": {
"cols": ["B10", "B2", "B1", "B0", "A7", "B4", "B3", "B7"],
diff --git a/keyboards/fallacy/indicators.c b/keyboards/fallacy/indicators.c
index 8686f292fc..b9a4a87056 100755
--- a/keyboards/fallacy/indicators.c
+++ b/keyboards/fallacy/indicators.c
@@ -23,20 +23,20 @@
*/
void init_fallacy_leds(void) {
i2c_init();
- IS31FL3731_init(LED_DRIVER_ADDR_1);
+ is31fl3731_init(LED_DRIVER_ADDR_1);
for (int i = 0; i < LED_MATRIX_LED_COUNT; i++) {
- IS31FL3731_set_led_control_register(i, true);
+ is31fl3731_set_led_control_register(i, true);
}
- IS31FL3731_update_led_control_registers(LED_DRIVER_ADDR_1, 0);
+ is31fl3731_update_led_control_registers(LED_DRIVER_ADDR_1, 0);
}
/* update the buffer
*/
void update_fallacy_leds(void) {
- IS31FL3731_update_pwm_buffers(LED_DRIVER_ADDR_1, 0);
+ is31fl3731_update_pwm_buffers(LED_DRIVER_ADDR_1, 0);
}
@@ -44,10 +44,10 @@ void update_fallacy_leds(void) {
*/
void set_fallacy_led(int index, bool state) {
if (state) {
- IS31FL3731_set_value(index, 128);
+ is31fl3731_set_value(index, 128);
}
else {
- IS31FL3731_set_value(index, 0);
+ is31fl3731_set_value(index, 0);
}
}
diff --git a/keyboards/input_club/ergodox_infinity/info.json b/keyboards/input_club/ergodox_infinity/info.json
index e3e0399bed..d69aeb5d0c 100644
--- a/keyboards/input_club/ergodox_infinity/info.json
+++ b/keyboards/input_club/ergodox_infinity/info.json
@@ -7,7 +7,7 @@
"device_version": "0.0.1"
},
"led_matrix": {
- "driver": "IS31FL3731"
+ "driver": "is31fl3731"
},
"matrix_pins": {
"cols": ["D1", "D4", "D5", "D6", "D7"],
diff --git a/keyboards/input_club/whitefox/info.json b/keyboards/input_club/whitefox/info.json
index 02dd975752..cb578e99b4 100644
--- a/keyboards/input_club/whitefox/info.json
+++ b/keyboards/input_club/whitefox/info.json
@@ -8,7 +8,7 @@
"device_version": "0.0.1"
},
"led_matrix": {
- "driver": "IS31FL3731"
+ "driver": "is31fl3731"
},
"matrix_pins": {
"cols": ["B2", "B3", "B18", "B19", "C0", "C8", "C9", "C10", "C11"],
diff --git a/keyboards/keychron/c1_pro/ansi/white/info.json b/keyboards/keychron/c1_pro/ansi/white/info.json
index 78c672ac89..070ed6c427 100644
--- a/keyboards/keychron/c1_pro/ansi/white/info.json
+++ b/keyboards/keychron/c1_pro/ansi/white/info.json
@@ -105,7 +105,7 @@
}
},
"led_matrix": {
- "driver": "CKLED2001",
+ "driver": "ckled2001",
"animations": {
"none": true,
"solid": true,
diff --git a/keyboards/keychron/c2_pro/ansi/white/info.json b/keyboards/keychron/c2_pro/ansi/white/info.json
index 3248e7c38a..dc58d1943b 100644
--- a/keyboards/keychron/c2_pro/ansi/white/info.json
+++ b/keyboards/keychron/c2_pro/ansi/white/info.json
@@ -122,7 +122,7 @@
}
},
"led_matrix": {
- "driver": "CKLED2001",
+ "driver": "ckled2001",
"animations": {
"none": true,
"solid": true,
diff --git a/keyboards/keychron/s1/ansi/white/info.json b/keyboards/keychron/s1/ansi/white/info.json
index 6d4d90525c..ff0a6b69cb 100644
--- a/keyboards/keychron/s1/ansi/white/info.json
+++ b/keyboards/keychron/s1/ansi/white/info.json
@@ -9,7 +9,7 @@
"device_version": "1.0.0"
},
"led_matrix": {
- "driver": "CKLED2001"
+ "driver": "ckled2001"
},
"matrix_pins": {
"cols": ["A10", "A9", "A8", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "A2", "A1", "A0", "C15", "C14"],
diff --git a/keyboards/mechlovin/olly/octagon/info.json b/keyboards/mechlovin/olly/octagon/info.json
index 90695c1bc8..5ca113f062 100644
--- a/keyboards/mechlovin/olly/octagon/info.json
+++ b/keyboards/mechlovin/olly/octagon/info.json
@@ -17,7 +17,7 @@
"pin": "A7"
},
"led_matrix": {
- "driver": "IS31FL3731"
+ "driver": "is31fl3731"
},
"matrix_pins": {
"cols": ["A10", "A9", "A8", "B15", "B14", "B13", "B2", "B1", "A15", "B3", "B9", "B8", "B7", "B6", "B5", "B4"],
diff --git a/keyboards/mechlovin/zed65/mono_led/info.json b/keyboards/mechlovin/zed65/mono_led/info.json
index 72fc0ecf87..4cd4ccf5a5 100644
--- a/keyboards/mechlovin/zed65/mono_led/info.json
+++ b/keyboards/mechlovin/zed65/mono_led/info.json
@@ -18,7 +18,7 @@
"pin": "A7"
},
"led_matrix": {
- "driver": "IS31FL3731"
+ "driver": "is31fl3731"
},
"matrix_pins": {
"cols": ["A10", "A9", "A8", "B15", "B14", "B13", "B2", "B1", "A15", "B3", "B9", "B8", "B7", "B6", "B5", "B4"],
diff --git a/keyboards/terrazzo/info.json b/keyboards/terrazzo/info.json
index 6e099c6e46..279c0f3324 100644
--- a/keyboards/terrazzo/info.json
+++ b/keyboards/terrazzo/info.json
@@ -21,7 +21,7 @@
]
},
"led_matrix": {
- "driver": "IS31FL3731"
+ "driver": "is31fl3731"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",