aboutsummaryrefslogtreecommitdiff
path: root/quantum/rgb_matrix/rgb_matrix.h
diff options
context:
space:
mode:
authorNick Brassel <[email protected]>2025-06-07 22:56:58 +1000
committerGitHub <[email protected]>2025-06-07 22:56:58 +1000
commit7808f8f56b0734ea54d367ff9e6abb4b52d1d85a (patch)
tree9586cdaaf507e3fe7133d3d08209ae1cbd2de8ef /quantum/rgb_matrix/rgb_matrix.h
parente3c8c23d91cfca71ca8c8ed5151d3f88052272e2 (diff)
downloadqmk_firmware-7808f8f56b0734ea54d367ff9e6abb4b52d1d85a.tar.gz
qmk_firmware-7808f8f56b0734ea54d367ff9e6abb4b52d1d85a.zip
Add `{rgb|led}_matrix_get_mode_name()`. (#25344)
Diffstat (limited to 'quantum/rgb_matrix/rgb_matrix.h')
-rw-r--r--quantum/rgb_matrix/rgb_matrix.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/rgb_matrix/rgb_matrix.h b/quantum/rgb_matrix/rgb_matrix.h
index c6b302631e..a91dded4a8 100644
--- a/quantum/rgb_matrix/rgb_matrix.h
+++ b/quantum/rgb_matrix/rgb_matrix.h
@@ -220,6 +220,10 @@ void rgb_matrix_set_flags(led_flags_t flags);
void rgb_matrix_set_flags_noeeprom(led_flags_t flags);
void rgb_matrix_update_pwm_buffers(void);
+#ifdef RGB_MATRIX_MODE_NAME_ENABLE
+const char *rgb_matrix_get_mode_name(uint8_t mode);
+#endif // RGB_MATRIX_MODE_NAME_ENABLE
+
#ifndef RGBLIGHT_ENABLE
# define eeconfig_update_rgblight_current eeconfig_force_flush_rgb_matrix
# define rgblight_reload_from_eeprom rgb_matrix_reload_from_eeprom