summaryrefslogtreecommitdiff
path: root/quantum/via.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/via.h')
-rw-r--r--quantum/via.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/quantum/via.h b/quantum/via.h
index ab4eb05028..01d4c48b37 100644
--- a/quantum/via.h
+++ b/quantum/via.h
@@ -17,6 +17,7 @@
#pragma once
#include "eeconfig.h" // for EECONFIG_SIZE
+#include "action.h"
// Keyboard level code can change where VIA stores the magic.
// The magic is the build date YYMMDD encoded as BCD in 3 bytes,
@@ -109,6 +110,7 @@ enum via_channel_id {
id_qmk_rgblight_channel = 2,
id_qmk_rgb_matrix_channel = 3,
id_qmk_audio_channel = 4,
+ id_qmk_led_matrix_channel = 5,
};
enum via_qmk_backlight_value {
@@ -130,6 +132,12 @@ enum via_qmk_rgb_matrix_value {
id_qmk_rgb_matrix_color = 4,
};
+enum via_qmk_led_matrix_value {
+ id_qmk_led_matrix_brightness = 1,
+ id_qmk_led_matrix_effect = 2,
+ id_qmk_led_matrix_effect_speed = 3,
+};
+
enum via_qmk_audio_value {
id_qmk_audio_enable = 1,
id_qmk_audio_clicky_enable = 2,
@@ -182,6 +190,13 @@ void via_qmk_rgb_matrix_get_value(uint8_t *data);
void via_qmk_rgb_matrix_save(void);
#endif
+#if defined(LED_MATRIX_ENABLE)
+void via_qmk_led_matrix_command(uint8_t *data, uint8_t length);
+void via_qmk_led_matrix_set_value(uint8_t *data);
+void via_qmk_led_matrix_get_value(uint8_t *data);
+void via_qmk_led_matrix_save(void);
+#endif
+
#if defined(AUDIO_ENABLE)
void via_qmk_audio_command(uint8_t *data, uint8_t length);
void via_qmk_audio_set_value(uint8_t *data);