qmk/quantum/rgblight/rgblight_drivers.h

16 lines
384 B
C
Raw Permalink Normal View History

2023-12-05 11:49:14 +00:00
// Copyright 2023 QMK
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <stdint.h>
typedef struct {
void (*init)(void);
void (*set_color)(int index, uint8_t red, uint8_t green, uint8_t blue);
void (*set_color_all)(uint8_t red, uint8_t green, uint8_t blue);
void (*flush)(void);
2023-12-05 11:49:14 +00:00
} rgblight_driver_t;
extern const rgblight_driver_t rgblight_driver;