diff options
author | Konstantin Đorđević <vomindoraan@gmail.com> | 2019-02-11 22:41:51 +0100 |
---|---|---|
committer | Konstantin Đorđević <vomindoraan@gmail.com> | 2019-03-02 15:15:55 +0100 |
commit | 2f07627a5dd38ab1370804f4feb1972250928803 (patch) | |
tree | 251ce2f31c5d5892a58b01ac0067a09a8224b1c4 /users/konstantin/rgb.h | |
parent | d163b22dfbb4a9092e3b7fc2b18a679e03080a58 (diff) |
Add RGB_SET keycode to Melody96 and RGB files to userspace
Diffstat (limited to 'users/konstantin/rgb.h')
-rw-r--r-- | users/konstantin/rgb.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/users/konstantin/rgb.h b/users/konstantin/rgb.h new file mode 100644 index 0000000000..2ea10c67a7 --- /dev/null +++ b/users/konstantin/rgb.h @@ -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; |