logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

rgblight_drivers.h (384B)


  1. // Copyright 2023 QMK
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. #include <stdint.h>
  5. typedef struct {
  6. void (*init)(void);
  7. void (*set_color)(int index, uint8_t red, uint8_t green, uint8_t blue);
  8. void (*set_color_all)(uint8_t red, uint8_t green, uint8_t blue);
  9. void (*flush)(void);
  10. } rgblight_driver_t;
  11. extern const rgblight_driver_t rgblight_driver;