qmk-dactyl-manuform-a/users/konstantin/rgb.h

19 lines
325 B
C
Raw Normal View History

#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;
2019-02-18 03:16:21 +01:00
extern const hsv_t GODSPEED_YELLOW;