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/horrortroll/chinese_pcb/black_e65/config.h | 3 --- .../horrortroll/chinese_pcb/black_e65/info.json | 3 ++- .../horrortroll/chinese_pcb/devil68_pro/config.h | 3 --- .../horrortroll/chinese_pcb/devil68_pro/info.json | 3 ++- keyboards/horrortroll/handwired_k552/config.h | 3 --- keyboards/horrortroll/handwired_k552/info.json | 3 ++- keyboards/horrortroll/lemon40/config.h | 3 --- keyboards/horrortroll/lemon40/info.json | 3 ++- keyboards/horrortroll/paws60/config.h | 20 -------------------- keyboards/horrortroll/paws60/info.json | 3 ++- 10 files changed, 10 insertions(+), 37 deletions(-) delete mode 100644 keyboards/horrortroll/paws60/config.h (limited to 'keyboards/horrortroll') diff --git a/keyboards/horrortroll/chinese_pcb/black_e65/config.h b/keyboards/horrortroll/chinese_pcb/black_e65/config.h index 3b5cf84cbd..de5824e222 100644 --- a/keyboards/horrortroll/chinese_pcb/black_e65/config.h +++ b/keyboards/horrortroll/chinese_pcb/black_e65/config.h @@ -16,9 +16,6 @@ #pragma once -/* Forcing to use NKRO instead 6KRO */ -#define FORCE_NKRO - #ifdef RGBLIGHT_ENABLE /* RGB Lighting config */ #define RGBLED_NUM 24 diff --git a/keyboards/horrortroll/chinese_pcb/black_e65/info.json b/keyboards/horrortroll/chinese_pcb/black_e65/info.json index 11b53d695c..2ceb38706f 100644 --- a/keyboards/horrortroll/chinese_pcb/black_e65/info.json +++ b/keyboards/horrortroll/chinese_pcb/black_e65/info.json @@ -6,7 +6,8 @@ "usb": { "vid": "0x7516", "pid": "0x7000", - "device_version": "0.0.1" + "device_version": "0.0.1", + "force_nkro": true }, "matrix_pins": { "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "F7", "F6", "F5", "F4", "F1", "F0"], diff --git a/keyboards/horrortroll/chinese_pcb/devil68_pro/config.h b/keyboards/horrortroll/chinese_pcb/devil68_pro/config.h index 266cc0ea78..adba031af5 100644 --- a/keyboards/horrortroll/chinese_pcb/devil68_pro/config.h +++ b/keyboards/horrortroll/chinese_pcb/devil68_pro/config.h @@ -16,9 +16,6 @@ #pragma once -/* Forcing to use NKRO instead 6KRO */ -#define FORCE_NKRO - #ifdef RGB_MATRIX_ENABLE #define RGB_MATRIX_LED_COUNT 86 #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 diff --git a/keyboards/horrortroll/chinese_pcb/devil68_pro/info.json b/keyboards/horrortroll/chinese_pcb/devil68_pro/info.json index 0a4f93e10d..192e9285fc 100644 --- a/keyboards/horrortroll/chinese_pcb/devil68_pro/info.json +++ b/keyboards/horrortroll/chinese_pcb/devil68_pro/info.json @@ -6,7 +6,8 @@ "usb": { "vid": "0x7516", "pid": "0x7001", - "device_version": "0.0.1" + "device_version": "0.0.1", + "force_nkro": true }, "rgb_matrix": { "driver": "WS2812" diff --git a/keyboards/horrortroll/handwired_k552/config.h b/keyboards/horrortroll/handwired_k552/config.h index cae7c8b11a..bec0ac055b 100644 --- a/keyboards/horrortroll/handwired_k552/config.h +++ b/keyboards/horrortroll/handwired_k552/config.h @@ -16,9 +16,6 @@ #pragma once -/* Forcing to use NKRO instead 6KRO */ -#define FORCE_NKRO - // SPI configuration #define SPI_DRIVER SPID1 #define SPI_SCK_PIN A5 diff --git a/keyboards/horrortroll/handwired_k552/info.json b/keyboards/horrortroll/handwired_k552/info.json index 2d97949c82..6bdd2ee2fc 100644 --- a/keyboards/horrortroll/handwired_k552/info.json +++ b/keyboards/horrortroll/handwired_k552/info.json @@ -6,7 +6,8 @@ "usb": { "vid": "0x7516", "pid": "0x5104", - "device_version": "0.0.1" + "device_version": "0.0.1", + "force_nkro": true }, "ws2812": { "pin": "C14" diff --git a/keyboards/horrortroll/lemon40/config.h b/keyboards/horrortroll/lemon40/config.h index 14ae995d43..9037487173 100644 --- a/keyboards/horrortroll/lemon40/config.h +++ b/keyboards/horrortroll/lemon40/config.h @@ -16,9 +16,6 @@ #pragma once -/* Forcing to use NKRO instead 6KRO */ -#define FORCE_NKRO - /* RGB light config */ #ifdef RGBLIGHT_ENABLE diff --git a/keyboards/horrortroll/lemon40/info.json b/keyboards/horrortroll/lemon40/info.json index ade1731d94..f4b4c383c9 100644 --- a/keyboards/horrortroll/lemon40/info.json +++ b/keyboards/horrortroll/lemon40/info.json @@ -6,7 +6,8 @@ "usb": { "vid": "0x7516", "pid": "0x2434", - "device_version": "0.0.1" + "device_version": "0.0.1", + "force_nkro": true }, "ws2812": { "pin": "F4" diff --git a/keyboards/horrortroll/paws60/config.h b/keyboards/horrortroll/paws60/config.h deleted file mode 100644 index 5d9f1d9dc6..0000000000 --- a/keyboards/horrortroll/paws60/config.h +++ /dev/null @@ -1,20 +0,0 @@ -/* Copyright 2022 HorrorTroll - * - * 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 - -/* Forcing to use NKRO instead 6KRO */ -#define FORCE_NKRO diff --git a/keyboards/horrortroll/paws60/info.json b/keyboards/horrortroll/paws60/info.json index 83fa85eda3..a8da9ee2c2 100644 --- a/keyboards/horrortroll/paws60/info.json +++ b/keyboards/horrortroll/paws60/info.json @@ -6,7 +6,8 @@ "usb": { "vid": "0x7516", "pid": "0x6060", - "device_version": "0.0.1" + "device_version": "0.0.1", + "force_nkro": true }, "matrix_pins": { "cols": ["F6", "B0", "F1", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1"], -- cgit v1.2.3