summaryrefslogtreecommitdiff
path: root/keyboards/linworks/whale75
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/linworks/whale75')
-rw-r--r--keyboards/linworks/whale75/config.h2
-rw-r--r--keyboards/linworks/whale75/info.json4
2 files changed, 4 insertions, 2 deletions
diff --git a/keyboards/linworks/whale75/config.h b/keyboards/linworks/whale75/config.h
index e21a6d3974..133b2a973b 100644
--- a/keyboards/linworks/whale75/config.h
+++ b/keyboards/linworks/whale75/config.h
@@ -21,14 +21,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Underglow */
#define WS2812_EXTERNAL_PULLUP // This board uses a pull-up + 5 V tolerant GPIO in open drain config ro generate a 5 V signal
-#define RGBLED_NUM 18
/* section for PWM WS2812 driver */
#define WS2812_PWM_DRIVER PWMD4
#define WS2812_PWM_CHANNEL 4
#define WS2812_PWM_PAL_MODE 2
#define WS2812_DMA_STREAM STM32_DMA1_STREAM7
#define WS2812_DMA_CHANNEL 7
-#define RGBLIGHT_SLEEP
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/linworks/whale75/info.json b/keyboards/linworks/whale75/info.json
index b08d77e307..3385f5371d 100644
--- a/keyboards/linworks/whale75/info.json
+++ b/keyboards/linworks/whale75/info.json
@@ -8,6 +8,10 @@
"device_version": "0.0.1",
"force_nkro": true
},
+ "rgblight": {
+ "led_count": 18,
+ "sleep": true
+ },
"ws2812": {
"pin": "B9",
"driver": "pwm"