From 709d07aebc38e6edd4e0f41d80792a7230c5180f Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Mon, 1 Jan 2024 01:33:20 +0000 Subject: Migrate LED Matrix config to info.json (#22792) --- keyboards/input_club/whitefox/config.h | 2 -- keyboards/input_club/whitefox/info.json | 25 ++++++++++++++++++++++++- 2 files changed, 24 insertions(+), 3 deletions(-) (limited to 'keyboards/input_club/whitefox') diff --git a/keyboards/input_club/whitefox/config.h b/keyboards/input_club/whitefox/config.h index 2b22fb9852..0a2a060e9b 100644 --- a/keyboards/input_club/whitefox/config.h +++ b/keyboards/input_club/whitefox/config.h @@ -22,8 +22,6 @@ along with this program. If not, see . /* LED matrix driver */ #define IS31FL3731_I2C_ADDRESS_1 IS31FL3731_I2C_ADDRESS_GND -#define LED_MATRIX_LED_COUNT 71 -#define LED_MATRIX_SLEEP /* i2c (for LED matrix) */ #define I2C1_CLOCK_SPEED 400000 diff --git a/keyboards/input_club/whitefox/info.json b/keyboards/input_club/whitefox/info.json index cb578e99b4..0428907fb8 100644 --- a/keyboards/input_club/whitefox/info.json +++ b/keyboards/input_club/whitefox/info.json @@ -8,7 +8,30 @@ "device_version": "0.0.1" }, "led_matrix": { - "driver": "is31fl3731" + "animations":{ + "alphas_mods": true, + "breathing": true, + "band": true, + "band_pinwheel": true, + "band_spiral": true, + "cycle_left_right": true, + "cycle_up_down": true, + "cycle_out_in": true, + "dual_beacon": true, + "solid_reactive_simple": true, + "solid_reactive_wide": true, + "solid_reactive_multiwide": true, + "solid_reactive_cross": true, + "solid_reactive_multicross": true, + "solid_reactive_nexus": true, + "solid_reactive_multinexus": true, + "splash": true, + "multisplash": true, + "wave_left_right": true, + "wave_up_down": true + }, + "driver": "is31fl3731", + "sleep": true }, "matrix_pins": { "cols": ["B2", "B3", "B18", "B19", "C0", "C8", "C9", "C10", "C11"], -- cgit v1.2.3