summaryrefslogtreecommitdiff
path: root/keyboards/handwired/dygma/raise/leds.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/dygma/raise/leds.h')
-rw-r--r--keyboards/handwired/dygma/raise/leds.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/keyboards/handwired/dygma/raise/leds.h b/keyboards/handwired/dygma/raise/leds.h
index 8964838aad..c25a4326a9 100644
--- a/keyboards/handwired/dygma/raise/leds.h
+++ b/keyboards/handwired/dygma/raise/leds.h
@@ -16,4 +16,10 @@
#pragma once
-extern const uint8_t led_map[DRIVER_LED_TOTAL];
+#include "quantum.h"
+#include "rgb_matrix.h"
+
+extern const uint8_t led_map[RGB_MATRIX_LED_COUNT];
+
+void set_all_leds_to(uint8_t r, uint8_t g, uint8_t b);
+void set_led_to(int led, uint8_t r, uint8_t g, uint8_t b);