From 2f07627a5dd38ab1370804f4feb1972250928803 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20=C4=90or=C4=91evi=C4=87?= Date: Mon, 11 Feb 2019 22:41:51 +0100 Subject: Add RGB_SET keycode to Melody96 and RGB files to userspace --- users/konstantin/rgb.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 users/konstantin/rgb.h (limited to 'users/konstantin/rgb.h') diff --git a/users/konstantin/rgb.h b/users/konstantin/rgb.h new file mode 100644 index 000000000..2ea10c67a --- /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; -- cgit v1.2.3