mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-11 22:44:56 +00:00
7186d1581a
* Move boards to cannonkeys and share resources * Share common files between cannonkey boards * Fix ortho60 keymap * update LED numbers * Add RGB keys to Ortho60 and Ortho48 * Add Backlight control to default layout Ortho60 and 48 * Remove unnecessary ws2812.c SRC from rules.mk
20 lines
577 B
C
20 lines
577 B
C
#pragma once
|
|
|
|
#include "hal.h"
|
|
#include "rgblight_types.h"
|
|
|
|
|
|
void set_leds_color_rgb(LED_TYPE color);
|
|
void set_led_color_rgb(LED_TYPE color, int pos);
|
|
void leds_init(void);
|
|
|
|
|
|
// This is what users will use to interface with this
|
|
void ws2812_setleds(LED_TYPE *ledarray, uint16_t number_of_leds);
|
|
void ws2812_setleds_rgbw(LED_TYPE *ledarray, uint16_t number_of_leds);
|
|
|
|
|
|
void WS2812_init(void);
|
|
void WS2812_set_color( uint8_t index, uint8_t red, uint8_t green, uint8_t blue );
|
|
void WS2812_set_color_all( uint8_t red, uint8_t green, uint8_t blue );
|
|
void WS2812_send_colors(void);
|