mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-25 20:56:42 +00:00
15 lines
300 B
C
15 lines
300 B
C
// Copyright 2023 QMK
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <stdint.h>
|
|
#include "color.h"
|
|
|
|
typedef struct {
|
|
void (*init)(void);
|
|
void (*setleds)(rgb_led_t *ledarray, uint16_t number_of_leds);
|
|
} rgblight_driver_t;
|
|
|
|
extern const rgblight_driver_t rgblight_driver;
|