diff options
author | HorrorTroll <[email protected]> | 2024-02-16 21:41:35 +0700 |
---|---|---|
committer | GitHub <[email protected]> | 2024-02-17 01:41:35 +1100 |
commit | f6709e65ebfd385a9963348d41c19abe9b91e8ad (patch) | |
tree | e61190504d666a8535f5e41bed90d8b5cdb7b9dc /quantum | |
parent | 9b0b3d7b25a845bd1af2152ab1259a6522d5590f (diff) | |
download | qmk_firmware-f6709e65ebfd385a9963348d41c19abe9b91e8ad.tar.gz qmk_firmware-f6709e65ebfd385a9963348d41c19abe9b91e8ad.zip |
Add RGB matrix & LED Matrix support for IS31FL3729 (#21944)
Co-authored-by: Xelus22 <[email protected]>
Co-authored-by: dexter93 <[email protected]>
Diffstat (limited to 'quantum')
-rw-r--r-- | quantum/led_matrix/led_matrix_drivers.c | 8 | ||||
-rw-r--r-- | quantum/led_matrix/led_matrix_drivers.h | 2 | ||||
-rw-r--r-- | quantum/rgb_matrix/rgb_matrix_drivers.c | 8 | ||||
-rw-r--r-- | quantum/rgb_matrix/rgb_matrix_drivers.h | 2 |
4 files changed, 20 insertions, 0 deletions
diff --git a/quantum/led_matrix/led_matrix_drivers.c b/quantum/led_matrix/led_matrix_drivers.c index b866383481..2e80bd0375 100644 --- a/quantum/led_matrix/led_matrix_drivers.c +++ b/quantum/led_matrix/led_matrix_drivers.c @@ -33,6 +33,14 @@ const led_matrix_driver_t led_matrix_driver = { .set_value_all = is31fl3218_set_value_all, }; +#elif defined(LED_MATRIX_IS31FL3729) +const led_matrix_driver_t led_matrix_driver = { + .init = is31fl3729_init_drivers, + .flush = is31fl3729_flush, + .set_value = is31fl3729_set_value, + .set_value_all = is31fl3729_set_value_all, +}; + #elif defined(LED_MATRIX_IS31FL3731) const led_matrix_driver_t led_matrix_driver = { .init = is31fl3731_init_drivers, diff --git a/quantum/led_matrix/led_matrix_drivers.h b/quantum/led_matrix/led_matrix_drivers.h index d792600e1f..a961784a62 100644 --- a/quantum/led_matrix/led_matrix_drivers.h +++ b/quantum/led_matrix/led_matrix_drivers.h @@ -7,6 +7,8 @@ #if defined(LED_MATRIX_IS31FL3218) # include "is31fl3218-mono.h" +#elif defined(LED_MATRIX_IS31FL3729) +# include "is31fl3729-mono.h" #elif defined(LED_MATRIX_IS31FL3731) # include "is31fl3731-mono.h" #elif defined(LED_MATRIX_IS31FL3733) diff --git a/quantum/rgb_matrix/rgb_matrix_drivers.c b/quantum/rgb_matrix/rgb_matrix_drivers.c index b5e539657d..95d1e884f0 100644 --- a/quantum/rgb_matrix/rgb_matrix_drivers.c +++ b/quantum/rgb_matrix/rgb_matrix_drivers.c @@ -36,6 +36,14 @@ const rgb_matrix_driver_t rgb_matrix_driver = { .set_color_all = is31fl3218_set_color_all, }; +#elif defined(RGB_MATRIX_IS31FL3729) +const rgb_matrix_driver_t rgb_matrix_driver = { + .init = is31fl3729_init_drivers, + .flush = is31fl3729_flush, + .set_color = is31fl3729_set_color, + .set_color_all = is31fl3729_set_color_all, +}; + #elif defined(RGB_MATRIX_IS31FL3731) const rgb_matrix_driver_t rgb_matrix_driver = { .init = is31fl3731_init_drivers, diff --git a/quantum/rgb_matrix/rgb_matrix_drivers.h b/quantum/rgb_matrix/rgb_matrix_drivers.h index 8f919b1b3c..a24cb03a18 100644 --- a/quantum/rgb_matrix/rgb_matrix_drivers.h +++ b/quantum/rgb_matrix/rgb_matrix_drivers.h @@ -9,6 +9,8 @@ # include "aw20216s.h" #elif defined(RGB_MATRIX_IS31FL3218) # include "is31fl3218.h" +#elif defined(RGB_MATRIX_IS31FL3729) +# include "is31fl3729.h" #elif defined(RGB_MATRIX_IS31FL3731) # include "is31fl3731.h" #elif defined(RGB_MATRIX_IS31FL3733) |