1
0
Fork 0

Add RGB_SET keycode to Melody96 and RGB files to userspace

This commit is contained in:
Konstantin Đorđević 2019-02-11 22:41:51 +01:00
parent d163b22dfb
commit 2f07627a5d
5 changed files with 45 additions and 4 deletions

17
users/konstantin/rgb.h Normal file
View file

@ -0,0 +1,17 @@
#pragma once
#include "quantum.h"
typedef struct {
uint16_t h;
uint8_t s;
uint8_t v;
} hsv_t;
typedef struct {
uint8_t r;
uint8_t g;
uint8_t b;
} rgb_t;
extern const hsv_t GODSPEED_BLUE;