summaryrefslogtreecommitdiff
path: root/keyboards/nightmare
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-02 10:10:48 +1000
committerGitHub <noreply@github.com>2022-08-02 01:10:48 +0100
commit056a44c7d3806dad0896133743b755151992d61f (patch)
tree4186a9298c0211a2c51c01ebb4f60124e7efa218 /keyboards/nightmare
parent7222969964a41a295910844ef93372e368439a09 (diff)
downloadqmk_firmware-056a44c7d3806dad0896133743b755151992d61f.tar.gz
qmk_firmware-056a44c7d3806dad0896133743b755151992d61f.zip
Move keyboard USB IDs and strings to data driven: N (#17865)
Diffstat (limited to 'keyboards/nightmare')
-rw-r--r--keyboards/nightmare/config.h7
-rw-r--r--keyboards/nightmare/info.json6
2 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/nightmare/config.h b/keyboards/nightmare/config.h
index ac4fe163e6..921d7f70de 100644
--- a/keyboards/nightmare/config.h
+++ b/keyboards/nightmare/config.h
@@ -19,13 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x434B // "CK"
-#define PRODUCT_ID 0x4E49 // "NI"
-#define DEVICE_VER 0x0001
-#define MANUFACTURER cfbender
-#define PRODUCT nightmare
-
/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 14
diff --git a/keyboards/nightmare/info.json b/keyboards/nightmare/info.json
index 8e79676cdb..858bb5d8ab 100644
--- a/keyboards/nightmare/info.json
+++ b/keyboards/nightmare/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "Nightmare",
+ "manufacturer": "cfbender",
"url": "https://keyhive.xyz/shop/nightmare-pcb-and-case",
"maintainer": "cfbender",
+ "usb": {
+ "vid": "0x434B",
+ "pid": "0x4E49",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_default": {
"layout": [