summaryrefslogtreecommitdiff
path: root/users/konstantin/rgb.h
diff options
context:
space:
mode:
authorKonstantin Đorđević <vomindoraan@gmail.com>2019-07-12 15:16:28 +0200
committerDrashna Jaelre <drashna@live.com>2019-07-12 06:16:28 -0700
commit38fdf7a2d2f3f0bb9c21332b81a289de94b9870a (patch)
tree59f44402c62f47e76988f514c3c2b16c85d48deb /users/konstantin/rgb.h
parent663ca6ba9db59e05f1ba057ad4c0e3ff3cb0cff1 (diff)
[Keymap] Add missing tap dance action and fix RGB hues in personal keymaps (#6312)
* Add missing TD_RSF_RCT tap dance * Use standard QMK HSV and RGB structs, fix Godspeed colors * Move PROGMEM after the type in RGB intervals * Add MODERN_DOLCH_RED color, use it on KBD6X * Use 255 instead of RGBLIGHT_LIMIT_VAL in color definitions * Remove IS_COMMAND override on Whitefox
Diffstat (limited to 'users/konstantin/rgb.h')
-rw-r--r--users/konstantin/rgb.h17
1 files changed, 3 insertions, 14 deletions
diff --git a/users/konstantin/rgb.h b/users/konstantin/rgb.h
index aed855aa05..36a9d9cd74 100644
--- a/users/konstantin/rgb.h
+++ b/users/konstantin/rgb.h
@@ -2,17 +2,6 @@
#include "quantum.h"
-typedef struct {
- uint16_t h; // 0–360
- uint8_t s; // 0–255
- uint8_t v; // 0–255
-} hsv_t;
-
-typedef struct {
- uint8_t r; // 0–255
- uint8_t g; // 0–255
- uint8_t b; // 0–255
-} rgb_t;
-
-extern const hsv_t GODSPEED_BLUE;
-extern const hsv_t GODSPEED_YELLOW;
+extern const HSV GODSPEED_BLUE;
+extern const HSV GODSPEED_YELLOW;
+extern const HSV MODERN_DOLCH_RED;