aboutsummaryrefslogtreecommitdiff
path: root/quantum/rgblight/rgblight_drivers.h
blob: af28b918e17bfa2c306c514a3d1d6f4938b9877b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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;