2023-12-05 12:49:14 +01:00
|
|
|
// Copyright 2023 QMK
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
#include "color.h"
|
|
|
|
|
|
|
|
typedef struct {
|
2024-03-18 12:03:27 +01:00
|
|
|
void (*init)(void);
|
2023-12-05 12:49:14 +01:00
|
|
|
void (*setleds)(rgb_led_t *ledarray, uint16_t number_of_leds);
|
|
|
|
} rgblight_driver_t;
|
|
|
|
|
|
|
|
extern const rgblight_driver_t rgblight_driver;
|