diff options
author | Ryan <fauxpark@gmail.com> | 2023-05-01 13:33:10 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-01 13:33:10 +1000 |
commit | 12d42cedd2624db0d5cfe6f538211f9dfcd19822 (patch) | |
tree | 6220d782fbfa4fa231184532009b95076ea9cae5 /keyboards/linworks | |
parent | 3bc4aeac6cc940d10bc73589ea67e0eaa7c7a878 (diff) |
Move `FORCE_NKRO` to data driven (#20604)
Diffstat (limited to 'keyboards/linworks')
-rw-r--r-- | keyboards/linworks/dolice/config.h | 19 | ||||
-rw-r--r-- | keyboards/linworks/dolice/info.json | 3 | ||||
-rw-r--r-- | keyboards/linworks/fave87/config.h | 4 | ||||
-rw-r--r-- | keyboards/linworks/fave87/info.json | 3 | ||||
-rw-r--r-- | keyboards/linworks/whale75/config.h | 4 | ||||
-rw-r--r-- | keyboards/linworks/whale75/info.json | 3 |
6 files changed, 6 insertions, 30 deletions
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 <http://www.gnu.org/licenses/>. -*/ - -#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 <http://www.gnu.org/licenses/>. #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 <http://www.gnu.org/licenses/>. #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", |