summaryrefslogtreecommitdiff
path: root/quantum/rgblight/rgblight_drivers.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/rgblight/rgblight_drivers.h')
-rw-r--r--quantum/rgblight/rgblight_drivers.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/quantum/rgblight/rgblight_drivers.h b/quantum/rgblight/rgblight_drivers.h
new file mode 100644
index 0000000000..f7125a6f3d
--- /dev/null
+++ b/quantum/rgblight/rgblight_drivers.h
@@ -0,0 +1,13 @@
+// Copyright 2023 QMK
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include <stdint.h>
+#include "color.h"
+
+typedef struct {
+ void (*setleds)(rgb_led_t *ledarray, uint16_t number_of_leds);
+} rgblight_driver_t;
+
+extern const rgblight_driver_t rgblight_driver;