diff options
author | Ryan <fauxpark@gmail.com> | 2023-12-05 22:49:14 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-05 22:49:14 +1100 |
commit | 17f36a21bfc340e4715c5849e4d0c537820e7cbe (patch) | |
tree | 88a9604026cd94de52eaa34f6a93e2e8d975659e /quantum/rgblight/rgblight_drivers.h | |
parent | 2acb426b8e51acd4ba16475c2132023cbb59b71a (diff) |
Rework RGBLight driver system (#22529)
Diffstat (limited to 'quantum/rgblight/rgblight_drivers.h')
-rw-r--r-- | quantum/rgblight/rgblight_drivers.h | 13 |
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; |