~ruther/qmk_firmware

ref: 25f608c1b437060e8c9b451ed81c7e37a2531284 qmk_firmware/quantum/rgblight/rgblight_drivers.h -rw-r--r-- 300 bytes
25f608c1 — Ryan Separate keycode handling for LED Matrix and Backlight (#23426) 1 year, 1 month ago
                                                                                
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;
Do not follow this link