diff options
author | Nick Brassel <[email protected]> | 2025-06-07 22:56:58 +1000 |
---|---|---|
committer | GitHub <[email protected]> | 2025-06-07 22:56:58 +1000 |
commit | 7808f8f56b0734ea54d367ff9e6abb4b52d1d85a (patch) | |
tree | 9586cdaaf507e3fe7133d3d08209ae1cbd2de8ef /quantum/led_matrix/led_matrix.h | |
parent | e3c8c23d91cfca71ca8c8ed5151d3f88052272e2 (diff) | |
download | qmk_firmware-7808f8f56b0734ea54d367ff9e6abb4b52d1d85a.tar.gz qmk_firmware-7808f8f56b0734ea54d367ff9e6abb4b52d1d85a.zip |
Add `{rgb|led}_matrix_get_mode_name()`. (#25344)
Diffstat (limited to 'quantum/led_matrix/led_matrix.h')
-rw-r--r-- | quantum/led_matrix/led_matrix.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/led_matrix/led_matrix.h b/quantum/led_matrix/led_matrix.h index 0dfe33ffab..9a49515ab2 100644 --- a/quantum/led_matrix/led_matrix.h +++ b/quantum/led_matrix/led_matrix.h @@ -184,6 +184,10 @@ led_flags_t led_matrix_get_flags(void); void led_matrix_set_flags(led_flags_t flags); void led_matrix_set_flags_noeeprom(led_flags_t flags); +#ifdef LED_MATRIX_MODE_NAME_ENABLE +const char *led_matrix_get_mode_name(uint8_t mode); +#endif // LED_MATRIX_MODE_NAME_ENABLE + static inline bool led_matrix_check_finished_leds(uint8_t led_idx) { #if defined(LED_MATRIX_SPLIT) if (is_keyboard_left()) { |