summaryrefslogtreecommitdiff
path: root/keyboards/xelus
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/xelus')
-rw-r--r--keyboards/xelus/dawn60/rev1_qmk/rev1_qmk.c18
-rw-r--r--keyboards/xelus/la_plus/info.json2
-rw-r--r--keyboards/xelus/pachi/rgb/rev1/rev1.c12
-rw-r--r--keyboards/xelus/pachi/rgb/rev2/rev2.c12
-rw-r--r--keyboards/xelus/valor/rev2/info.json2
5 files changed, 23 insertions, 23 deletions
diff --git a/keyboards/xelus/dawn60/rev1_qmk/rev1_qmk.c b/keyboards/xelus/dawn60/rev1_qmk/rev1_qmk.c
index f153c9ef9d..7b77807326 100644
--- a/keyboards/xelus/dawn60/rev1_qmk/rev1_qmk.c
+++ b/keyboards/xelus/dawn60/rev1_qmk/rev1_qmk.c
@@ -167,28 +167,28 @@ led_config_t g_led_config = { {
//Custom Driver
static void init(void) {
i2c_init();
- IS31FL3731_init(DRIVER_ADDR_1);
- IS31FL3731_init(DRIVER_ADDR_2);
+ is31fl3731_init(DRIVER_ADDR_1);
+ is31fl3731_init(DRIVER_ADDR_2);
for (int index = 0; index < ISSI_DRIVER_TOTAL; index++) {
bool enabled = true;
- IS31FL3731_set_led_control_register(index, enabled, enabled, enabled);
+ is31fl3731_set_led_control_register(index, enabled, enabled, enabled);
}
- IS31FL3731_update_led_control_registers(DRIVER_ADDR_1, 0);
- IS31FL3731_update_led_control_registers(DRIVER_ADDR_2, 1);
+ is31fl3731_update_led_control_registers(DRIVER_ADDR_1, 0);
+ is31fl3731_update_led_control_registers(DRIVER_ADDR_2, 1);
//RGB Underglow ws2812
}
static void flush(void) {
- IS31FL3731_update_pwm_buffers(DRIVER_ADDR_1, 0);
- IS31FL3731_update_pwm_buffers(DRIVER_ADDR_2, 1);
+ is31fl3731_update_pwm_buffers(DRIVER_ADDR_1, 0);
+ is31fl3731_update_pwm_buffers(DRIVER_ADDR_2, 1);
ws2812_setleds(rgb_matrix_ws2812_array, WS2812_LED_TOTAL);
}
static void set_color(int index, uint8_t red, uint8_t green, uint8_t blue) {
if (index < ISSI_DRIVER_TOTAL) {
- IS31FL3731_set_color(index, red, green, blue);
+ is31fl3731_set_color(index, red, green, blue);
} else {
rgb_matrix_ws2812_array[index - ISSI_DRIVER_TOTAL].r = red;
rgb_matrix_ws2812_array[index - ISSI_DRIVER_TOTAL].g = green;
@@ -197,7 +197,7 @@ static void set_color(int index, uint8_t red, uint8_t green, uint8_t blue) {
}
static void set_color_all(uint8_t red, uint8_t green, uint8_t blue) {
- IS31FL3731_set_color_all( red, green, blue );
+ is31fl3731_set_color_all( red, green, blue );
for (uint8_t i = 0; i < WS2812_LED_TOTAL; i++) {
rgb_matrix_ws2812_array[i].r = red;
rgb_matrix_ws2812_array[i].g = green;
diff --git a/keyboards/xelus/la_plus/info.json b/keyboards/xelus/la_plus/info.json
index 24f84a7d80..be1fa11584 100644
--- a/keyboards/xelus/la_plus/info.json
+++ b/keyboards/xelus/la_plus/info.json
@@ -12,7 +12,7 @@
"pin": "F1"
},
"rgb_matrix": {
- "driver": "WS2812"
+ "driver": "ws2812"
},
"matrix_pins": {
"cols": ["E6", "D5", "B2", "B3", "D3", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"],
diff --git a/keyboards/xelus/pachi/rgb/rev1/rev1.c b/keyboards/xelus/pachi/rgb/rev1/rev1.c
index 856cdc1302..156c5228da 100644
--- a/keyboards/xelus/pachi/rgb/rev1/rev1.c
+++ b/keyboards/xelus/pachi/rgb/rev1/rev1.c
@@ -188,7 +188,7 @@ led_config_t g_led_config = { {
static void init(void) {
i2c_init();
- IS31FL3741_init(DRIVER_ADDR_1);
+ is31fl3741_init(DRIVER_ADDR_1);
for (int index = 0; index < ISSI_DRIVER_TOTAL; index++) {
bool enabled = !( ( index == -1+0+13) || //A13
( index == -1+13+3) || //B3
@@ -221,19 +221,19 @@ static void init(void) {
( index == -1+104+12) || //I12
( index == -1+104+13) //I13
);
- IS31FL3741_set_led_control_register(index, enabled, enabled, enabled);
+ is31fl3741_set_led_control_register(index, enabled, enabled, enabled);
}
- IS31FL3741_update_led_control_registers(DRIVER_ADDR_1, 0);
+ is31fl3741_update_led_control_registers(DRIVER_ADDR_1, 0);
}
static void flush(void) {
- IS31FL3741_update_pwm_buffers(DRIVER_ADDR_1, 0);
+ is31fl3741_update_pwm_buffers(DRIVER_ADDR_1, 0);
}
const rgb_matrix_driver_t rgb_matrix_driver = {
.init = init,
.flush = flush,
- .set_color = IS31FL3741_set_color,
- .set_color_all = IS31FL3741_set_color_all
+ .set_color = is31fl3741_set_color,
+ .set_color_all = is31fl3741_set_color_all
};
#endif
diff --git a/keyboards/xelus/pachi/rgb/rev2/rev2.c b/keyboards/xelus/pachi/rgb/rev2/rev2.c
index da5bb96a75..d7c74730f8 100644
--- a/keyboards/xelus/pachi/rgb/rev2/rev2.c
+++ b/keyboards/xelus/pachi/rgb/rev2/rev2.c
@@ -194,7 +194,7 @@ led_config_t g_led_config = { {
static void init(void) {
i2c_init();
- IS31FL3741_init(DRIVER_ADDR_1);
+ is31fl3741_init(DRIVER_ADDR_1);
for (int index = 0; index < ISSI_DRIVER_TOTAL; index++) {
bool enabled = !( ( index == -1+0+13) || //A13
( index == -1+13+3) || //B3
@@ -227,20 +227,20 @@ static void init(void) {
( index == -1+104+12) || //I12
( index == -1+104+13) //I13
);
- IS31FL3741_set_led_control_register(index, enabled, enabled, enabled);
+ is31fl3741_set_led_control_register(index, enabled, enabled, enabled);
}
- IS31FL3741_update_led_control_registers(DRIVER_ADDR_1, 0);
+ is31fl3741_update_led_control_registers(DRIVER_ADDR_1, 0);
}
static void flush(void) {
- IS31FL3741_update_pwm_buffers(DRIVER_ADDR_1, 0);
+ is31fl3741_update_pwm_buffers(DRIVER_ADDR_1, 0);
}
const rgb_matrix_driver_t rgb_matrix_driver = {
.init = init,
.flush = flush,
- .set_color = IS31FL3741_set_color,
- .set_color_all = IS31FL3741_set_color_all
+ .set_color = is31fl3741_set_color,
+ .set_color_all = is31fl3741_set_color_all
};
#ifdef VIA_ENABLE
diff --git a/keyboards/xelus/valor/rev2/info.json b/keyboards/xelus/valor/rev2/info.json
index d3f134fdf8..a8068eff89 100644
--- a/keyboards/xelus/valor/rev2/info.json
+++ b/keyboards/xelus/valor/rev2/info.json
@@ -13,7 +13,7 @@
"driver": "pwm"
},
"rgb_matrix": {
- "driver": "WS2812"
+ "driver": "ws2812"
},
"matrix_pins": {
"cols": ["B2", "B1", "B0", "A7", "A6", "A5", "A4", "A13", "B7", "B6", "B5", "B4", "B3", "A15", "A14"],