summaryrefslogtreecommitdiff
path: root/keyboards/xiudi
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-10-28 09:50:14 +1100
committerGitHub <noreply@github.com>2022-10-27 23:50:14 +0100
commit7407347be1df69928d27ea9b6a4fe094429f2a55 (patch)
treee511be10ad74c60b54ce1839cbf3db767466275a /keyboards/xiudi
parenta96a9fd5f8d1db141bc4d5083b63267aac035adf (diff)
Remove rgblight_list.h (#18878)
* Remove rgblight_list defines with no usage * Remove rgblight_setrgb_*[_at] defines * Remove rgblight_sethsv_* defines * Remove rgblight_sethsv_noeeprom_* defines * Delete rgblight_list.h and remove all references
Diffstat (limited to 'keyboards/xiudi')
-rw-r--r--keyboards/xiudi/xd75/keymaps/hybrid/keymap.c6
-rw-r--r--keyboards/xiudi/xd75/keymaps/tdl-jturner/keymap.c16
2 files changed, 11 insertions, 11 deletions
diff --git a/keyboards/xiudi/xd75/keymaps/hybrid/keymap.c b/keyboards/xiudi/xd75/keymaps/hybrid/keymap.c
index 2ef38e25b5..6d7b52439d 100644
--- a/keyboards/xiudi/xd75/keymaps/hybrid/keymap.c
+++ b/keyboards/xiudi/xd75/keymaps/hybrid/keymap.c
@@ -282,9 +282,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
//Define layer colors
-#define rgblight_setrgb_user_MAIN() rgblight_sethsv_red()
-#define rgblight_setrgb_user_LY1() rgblight_sethsv_green()
-#define rgblight_setrgb_user_LY2() rgblight_sethsv_blue()
+#define rgblight_setrgb_user_MAIN() rgblight_sethsv(HSV_RED)
+#define rgblight_setrgb_user_LY1() rgblight_sethsv(HSV_GREEN)
+#define rgblight_setrgb_user_LY2() rgblight_sethsv(HSV_BLUE)
void matrix_init_user(void) {
rgblight_enable();
diff --git a/keyboards/xiudi/xd75/keymaps/tdl-jturner/keymap.c b/keyboards/xiudi/xd75/keymaps/tdl-jturner/keymap.c
index 52aeaa0a19..d7f8b044e3 100644
--- a/keyboards/xiudi/xd75/keymaps/tdl-jturner/keymap.c
+++ b/keyboards/xiudi/xd75/keymaps/tdl-jturner/keymap.c
@@ -162,14 +162,14 @@ LT(_LYMD,KC_ESC), KC_A , KC_R , KC_S , KC_T , KC_D ,________ ,_______
//Define layer colors
#define rgblight_setrgb_user_base() rgblight_sethsv(325,255,255)
-#define rgblight_setrgb_user_LYFK() rgblight_sethsv_red()
-#define rgblight_setrgb_user_LYMED() rgblight_sethsv_blue()
-#define rgblight_setrgb_user_LYNUM() rgblight_sethsv_purple()
-#define rgblight_setrgb_user_LYNAV() rgblight_sethsv_cyan()
-#define rgblight_setrgb_user_LYMOS() rgblight_sethsv_orange()
-#define rgblight_setrgb_user_LYSYS() rgblight_sethsv_green()
-#define rgblight_setrgb_user_LYLT() rgblight_sethsv_yellow()
-#define rgblight_setrgb_user_LYMD() rgblight_sethsv_white()
+#define rgblight_setrgb_user_LYFK() rgblight_sethsv(HSV_RED)
+#define rgblight_setrgb_user_LYMED() rgblight_sethsv(HSV_BLUE)
+#define rgblight_setrgb_user_LYNUM() rgblight_sethsv(HSV_PURPLE)
+#define rgblight_setrgb_user_LYNAV() rgblight_sethsv(HSV_CYAN)
+#define rgblight_setrgb_user_LYMOS() rgblight_sethsv(HSV_ORANGE)
+#define rgblight_setrgb_user_LYSYS() rgblight_sethsv(HSV_GREEN)
+#define rgblight_setrgb_user_LYLT() rgblight_sethsv(HSV_YELLOW)
+#define rgblight_setrgb_user_LYMD() rgblight_sethsv(HSV_WHITE)
//initialize rgb
void matrix_init_user(void) {