summaryrefslogtreecommitdiff
path: root/keyboards/woodkeys/bigseries/1key/keymaps
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/woodkeys/bigseries/1key/keymaps
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/woodkeys/bigseries/1key/keymaps')
-rwxr-xr-xkeyboards/woodkeys/bigseries/1key/keymaps/8ball/keymap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/woodkeys/bigseries/1key/keymaps/8ball/keymap.c b/keyboards/woodkeys/bigseries/1key/keymaps/8ball/keymap.c
index 33a5428fe4..500fddd53f 100755
--- a/keyboards/woodkeys/bigseries/1key/keymaps/8ball/keymap.c
+++ b/keyboards/woodkeys/bigseries/1key/keymaps/8ball/keymap.c
@@ -84,11 +84,11 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
uint8_t num = rand() / (RAND_MAX / NUM_ANSWERS + 1);
rgblight_mode(1);
if (num < UNCERTAIN_BREAK) {
- rgblight_setrgb_green();
+ rgblight_setrgb(RGB_GREEN);
} else if (num < NO_BREAK) {
- rgblight_setrgb_yellow();
+ rgblight_setrgb(RGB_YELLOW);
} else {
- rgblight_setrgb_red();
+ rgblight_setrgb(RGB_RED);
}
send_string(ANSWERS[num]);
lastTime = timer_read32();
@@ -135,6 +135,6 @@ void led_set_user(uint8_t usb_led) {
void reset_rgb(void) {
// This gets called on init and after the timeout for the answer color
// If you want to change the default color/mode, do it here
- rgblight_sethsv_blue();
+ rgblight_sethsv(HSV_BLUE);
rgblight_mode(7);
}