mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-14 16:05:11 +00:00
Add rgblight set at commands
This commit is contained in:
parent
bfb5922f87
commit
5941f81e38
1 changed files with 40 additions and 0 deletions
|
@ -36,6 +36,26 @@
|
||||||
#define rgblight_setrgb_magenta() rgblight_setrgb (0xFF, 0x00, 0xFF)
|
#define rgblight_setrgb_magenta() rgblight_setrgb (0xFF, 0x00, 0xFF)
|
||||||
#define rgblight_setrgb_pink() rgblight_setrgb (0xFF, 0x80, 0xBF)
|
#define rgblight_setrgb_pink() rgblight_setrgb (0xFF, 0x80, 0xBF)
|
||||||
|
|
||||||
|
/* SET RGB List */
|
||||||
|
#define rgblight_setrgb_white_at(at) rgblight_setrgb_at (0xFF, 0xFF, 0xFF, at)
|
||||||
|
#define rgblight_setrgb_red_at(at) rgblight_setrgb_at (0xFF, 0x00, 0x00, at)
|
||||||
|
#define rgblight_setrgb_coral_at(at) rgblight_setrgb_at (0xFF, 0x7C, 0x4D, at)
|
||||||
|
#define rgblight_setrgb_orange_at(at) rgblight_setrgb_at (0xFF, 0x80, 0x00, at)
|
||||||
|
#define rgblight_setrgb_goldenrod_at(at) rgblight_setrgb_at (0xD9, 0xA5, 0x21, at)
|
||||||
|
#define rgblight_setrgb_gold_at(at) rgblight_setrgb_at (0xFF, 0xD9, 0x00, at)
|
||||||
|
#define rgblight_setrgb_yellow_at(at) rgblight_setrgb_at (0xFF, 0xFF, 0x00, at)
|
||||||
|
#define rgblight_setrgb_chartreuse_at(at) rgblight_setrgb_at (0x80, 0xFF, 0x00, at)
|
||||||
|
#define rgblight_setrgb_green_at(at) rgblight_setrgb_at (0x00, 0xFF, 0x00, at)
|
||||||
|
#define rgblight_setrgb_springgreen_at(at) rgblight_setrgb_at (0x00, 0xFF, 0x80, at)
|
||||||
|
#define rgblight_setrgb_turquoise_at(at) rgblight_setrgb_at (0x47, 0x6E, 0x6A, at)
|
||||||
|
#define rgblight_setrgb_teal_at(at) rgblight_setrgb_at (0x00, 0x80, 0x80, at)
|
||||||
|
#define rgblight_setrgb_cyan_at(at) rgblight_setrgb_at (0x00, 0xFF, 0xFF, at)
|
||||||
|
#define rgblight_setrgb_azure_at(at) rgblight_setrgb_at (0x99, 0xf5, 0xFF, at)
|
||||||
|
#define rgblight_setrgb_blue_at(at) rgblight_setrgb_at (0x00, 0x00, 0xFF, at)
|
||||||
|
#define rgblight_setrgb_purple_at(at) rgblight_setrgb_at (0x7A, 0x00, 0xFF, at)
|
||||||
|
#define rgblight_setrgb_magenta_at(at) rgblight_setrgb_at (0xFF, 0x00, 0xFF, at)
|
||||||
|
#define rgblight_setrgb_pink_at(at) rgblight_setrgb_at (0xFF, 0x80, 0xBF, at)
|
||||||
|
|
||||||
/* SET HSV List */
|
/* SET HSV List */
|
||||||
#define rgblight_sethsv_white() rgblight_sethsv ( 0, 0, 255)
|
#define rgblight_sethsv_white() rgblight_sethsv ( 0, 0, 255)
|
||||||
#define rgblight_sethsv_red() rgblight_sethsv ( 0, 255, 255)
|
#define rgblight_sethsv_red() rgblight_sethsv ( 0, 255, 255)
|
||||||
|
@ -56,4 +76,24 @@
|
||||||
#define rgblight_sethsv_magenta() rgblight_sethsv (300, 255, 255)
|
#define rgblight_sethsv_magenta() rgblight_sethsv (300, 255, 255)
|
||||||
#define rgblight_sethsv_pink() rgblight_sethsv (330, 128, 255)
|
#define rgblight_sethsv_pink() rgblight_sethsv (330, 128, 255)
|
||||||
|
|
||||||
|
/* SET HSV List */
|
||||||
|
#define rgblight_sethsv_white_at(at) rgblight_sethsv_at ( 0, 0, 255, at)
|
||||||
|
#define rgblight_sethsv_red_at(at) rgblight_sethsv_at ( 0, 255, 255, at)
|
||||||
|
#define rgblight_sethsv_coral_at(at) rgblight_sethsv_at ( 16, 176, 255, at)
|
||||||
|
#define rgblight_sethsv_orange_at(at) rgblight_sethsv_at ( 39, 255, 255, at)
|
||||||
|
#define rgblight_sethsv_goldenrod_at(at) rgblight_sethsv_at ( 43, 218, 218, at)
|
||||||
|
#define rgblight_sethsv_gold_at(at) rgblight_sethsv_at ( 51, 255, 255, at)
|
||||||
|
#define rgblight_sethsv_yellow_at(at) rgblight_sethsv_at ( 60, 255, 255, at)
|
||||||
|
#define rgblight_sethsv_chartreuse_at(at) rgblight_sethsv_at ( 90, 255, 255, at)
|
||||||
|
#define rgblight_sethsv_green_at(at) rgblight_sethsv_at (120, 255, 255, at)
|
||||||
|
#define rgblight_sethsv_springgreen_at(at) rgblight_sethsv_at (150, 255, 255, at)
|
||||||
|
#define rgblight_sethsv_turquoise_at(at) rgblight_sethsv_at (174, 90, 112, at)
|
||||||
|
#define rgblight_sethsv_teal_at(at) rgblight_sethsv_at (180, 255, 128, at)
|
||||||
|
#define rgblight_sethsv_cyan_at(at) rgblight_sethsv_at (180, 255, 255, at)
|
||||||
|
#define rgblight_sethsv_azure_at(at) rgblight_sethsv_at (186, 102, 255, at)
|
||||||
|
#define rgblight_sethsv_blue_at(at) rgblight_sethsv_at (240, 255, 255, at)
|
||||||
|
#define rgblight_sethsv_purple_at(at) rgblight_sethsv_at (270, 255, 255, at)
|
||||||
|
#define rgblight_sethsv_magenta_at(at) rgblight_sethsv_at (300, 255, 255, at)
|
||||||
|
#define rgblight_sethsv_pink_at(at) rgblight_sethsv_at (330, 128, 255, at)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue