From 12d42cedd2624db0d5cfe6f538211f9dfcd19822 Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 1 May 2023 13:33:10 +1000 Subject: Move `FORCE_NKRO` to data driven (#20604) --- keyboards/linworks/dolice/config.h | 19 ------------------- keyboards/linworks/dolice/info.json | 3 ++- keyboards/linworks/fave87/config.h | 4 ---- keyboards/linworks/fave87/info.json | 3 ++- keyboards/linworks/whale75/config.h | 4 ---- keyboards/linworks/whale75/info.json | 3 ++- 6 files changed, 6 insertions(+), 30 deletions(-) delete mode 100644 keyboards/linworks/dolice/config.h (limited to 'keyboards/linworks') diff --git a/keyboards/linworks/dolice/config.h b/keyboards/linworks/dolice/config.h deleted file mode 100644 index 446ade0fcc..0000000000 --- a/keyboards/linworks/dolice/config.h +++ /dev/null @@ -1,19 +0,0 @@ -/* -Copyright 2021 Moritz Plattner -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#pragma once - - -/* Force USB NKRO */ -#define FORCE_NKRO diff --git a/keyboards/linworks/dolice/info.json b/keyboards/linworks/dolice/info.json index ae201fd50e..c628200298 100644 --- a/keyboards/linworks/dolice/info.json +++ b/keyboards/linworks/dolice/info.json @@ -5,7 +5,8 @@ "usb": { "vid": "0x4C58", "pid": "0x0005", - "device_version": "0.0.1" + "device_version": "0.0.1", + "force_nkro": true }, "matrix_pins": { "cols": ["E6", "F0", "F1", "B4", "D5", "D3", "D2", "B2"], diff --git a/keyboards/linworks/fave87/config.h b/keyboards/linworks/fave87/config.h index fb227ca802..c46332b007 100644 --- a/keyboards/linworks/fave87/config.h +++ b/keyboards/linworks/fave87/config.h @@ -14,10 +14,6 @@ along with this program. If not, see . #pragma once - -/* Force USB NKRO */ -#define FORCE_NKRO - /* Underglow */ #define RGBLED_NUM 40 #define RGBLIGHT_SLEEP // Turns LEDs off if the PC goes to sleep/shutdown diff --git a/keyboards/linworks/fave87/info.json b/keyboards/linworks/fave87/info.json index 2694d09930..e77af6d10d 100644 --- a/keyboards/linworks/fave87/info.json +++ b/keyboards/linworks/fave87/info.json @@ -5,7 +5,8 @@ "usb": { "vid": "0x4C58", "pid": "0x0002", - "device_version": "0.0.1" + "device_version": "0.0.1", + "force_nkro": true }, "matrix_pins": { "cols": ["F1", "F0", "E6", "B0", "B1", "B2", "B3", "D6", "D7"], diff --git a/keyboards/linworks/whale75/config.h b/keyboards/linworks/whale75/config.h index 66c5212371..e21a6d3974 100644 --- a/keyboards/linworks/whale75/config.h +++ b/keyboards/linworks/whale75/config.h @@ -14,10 +14,6 @@ along with this program. If not, see . #pragma once - -/* Force USB NKRO */ -#define FORCE_NKRO - #define BACKLIGHT_PWM_DRIVER PWMD1 #define BACKLIGHT_PWM_CHANNEL 3 #define BACKLIGHT_PAL_MODE 6 diff --git a/keyboards/linworks/whale75/info.json b/keyboards/linworks/whale75/info.json index 2ac2accced..b08d77e307 100644 --- a/keyboards/linworks/whale75/info.json +++ b/keyboards/linworks/whale75/info.json @@ -5,7 +5,8 @@ "usb": { "vid": "0x4C58", "pid": "0x0001", - "device_version": "0.0.1" + "device_version": "0.0.1", + "force_nkro": true }, "ws2812": { "pin": "B9", -- cgit v1.2.3