mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-26 10:27:52 +06:00
cb1935aaff
* Add FnLk to Melody96 bottom row * Update conditional in userspace makefile Thanks @drashna * Add F keys to Melody96 Fn layer * Add FN_ESC alias to userspace * Update KBD6X keymap * Fix RGB_MATRIX_ENABLE constant name in #if * Remove trailing \ from LAYOUT macro calls * Set RGB mode on EEPROM reset in KBD6X * Swap right and middle mouse buttons in KBD6X * Rearrange RGB controls in KBD6X * Update keycode aliases, replace CLEAR with DEL_NXT in KBD6X Add Clear to KBD6X as RCtrl+` * Convert code to 4 space indents * Tweak RCTRL layer functionality * Replace NUMPAD custom keycode with layer state logic * Update RGB_MATRIX_ENABLE check Co-Authored-By: vomindoraan <vomindoraan@gmail.com>
19 lines
325 B
C
19 lines
325 B
C
#pragma once
|
||
|
||
#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;
|