summaryrefslogtreecommitdiff
path: root/keyboards/anavi/knob1
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/knob1
parent7d5b4adc502df7cd9e20ba96027fbfe728171b2e (diff)
Migrate lighting defaults to info.json (#22920)
Diffstat (limited to 'keyboards/anavi/knob1')
-rw-r--r--keyboards/anavi/knob1/config.h3
-rw-r--r--keyboards/anavi/knob1/info.json6
2 files changed, 3 insertions, 6 deletions
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": {