You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qmk_firmware/users/konstantin/rgb.h

19 lines
325 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

#pragma once
#include "quantum.h"
typedef struct {
uint16_t h; // 0360
uint8_t s; // 0255
uint8_t v; // 0255
} hsv_t;
typedef struct {
uint8_t r; // 0255
uint8_t g; // 0255
uint8_t b; // 0255
} rgb_t;
extern const hsv_t GODSPEED_BLUE;
extern const hsv_t GODSPEED_YELLOW;