summaryrefslogtreecommitdiff
path: root/keyboards/anavi
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-02-01 18:10:14 +0000
committerGitHub <noreply@github.com>2024-02-01 18:10:14 +0000
commit2f37a7854ddb0055eff7cb605492a57ff5061eb2 (patch)
tree95a990fb8cb1ec8b47c8760708d7541fa042f4ba /keyboards/anavi
parent7d5b4adc502df7cd9e20ba96027fbfe728171b2e (diff)
Migrate lighting defaults to info.json (#22920)
Diffstat (limited to 'keyboards/anavi')
-rw-r--r--keyboards/anavi/arrows/config.h2
-rw-r--r--keyboards/anavi/arrows/info.json3
-rw-r--r--keyboards/anavi/knob1/config.h3
-rw-r--r--keyboards/anavi/knob1/info.json6
-rw-r--r--keyboards/anavi/macropad12/config.h2
-rw-r--r--keyboards/anavi/macropad12/info.json3
6 files changed, 9 insertions, 10 deletions
diff --git a/keyboards/anavi/arrows/config.h b/keyboards/anavi/arrows/config.h
index 02e7781e57..59b2a11aae 100644
--- a/keyboards/anavi/arrows/config.h
+++ b/keyboards/anavi/arrows/config.h
@@ -3,8 +3,6 @@
#pragma once
-#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD
-
/* Double tap reset button to enter bootloader */
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17
diff --git a/keyboards/anavi/arrows/info.json b/keyboards/anavi/arrows/info.json
index bdda15695a..48dae7b2ea 100644
--- a/keyboards/anavi/arrows/info.json
+++ b/keyboards/anavi/arrows/info.json
@@ -35,6 +35,9 @@
"snake": true,
"static_gradient": true,
"twinkle": true
+ },
+ "default": {
+ "animation": "rainbow_mood"
}
},
"ws2812": {
diff --git a/keyboards/anavi/knob1/config.h b/keyboards/anavi/knob1/config.h
index 338f5d8dbe..07cea802b3 100644
--- a/keyboards/anavi/knob1/config.h
+++ b/keyboards/anavi/knob1/config.h
@@ -3,14 +3,11 @@
#pragma once
-#define RGBLIGHT_DEFAULT_MODE 9
-
/* Double tap reset button to enter bootloader */
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U
-
#define I2C_DRIVER I2CD1
#define I2C1_SDA_PIN GP6
#define I2C1_SCL_PIN GP7
diff --git a/keyboards/anavi/knob1/info.json b/keyboards/anavi/knob1/info.json
index 06acec583f..551d059bad 100644
--- a/keyboards/anavi/knob1/info.json
+++ b/keyboards/anavi/knob1/info.json
@@ -17,9 +17,6 @@
"rgblight": {
"led_count": 1,
"hue_steps": 10,
- "saturation_steps": 17,
- "brightness_steps": 17,
- "max_brightness": 255,
"animations": {
"alternating": true,
"breathing": true,
@@ -31,6 +28,9 @@
"snake": true,
"static_gradient": true,
"twinkle": true
+ },
+ "default": {
+ "animation": "rainbow_swirl"
}
},
"ws2812": {
diff --git a/keyboards/anavi/macropad12/config.h b/keyboards/anavi/macropad12/config.h
index 02e7781e57..59b2a11aae 100644
--- a/keyboards/anavi/macropad12/config.h
+++ b/keyboards/anavi/macropad12/config.h
@@ -3,8 +3,6 @@
#pragma once
-#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD
-
/* Double tap reset button to enter bootloader */
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17
diff --git a/keyboards/anavi/macropad12/info.json b/keyboards/anavi/macropad12/info.json
index f0f6d6ca60..3a1a07a0a1 100644
--- a/keyboards/anavi/macropad12/info.json
+++ b/keyboards/anavi/macropad12/info.json
@@ -34,6 +34,9 @@
"snake": true,
"static_gradient": true,
"twinkle": true
+ },
+ "default": {
+ "animation": "rainbow_mood"
}
},
"ws2812": {