From 3a7dbc89817950709717d6dcec18a6eccbcc2d28 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 14 Aug 2022 12:16:16 +1000 Subject: Move keyboard USB IDs and strings to data driven, pass 2: B-C (#17945) --- keyboards/bear_face/config.h | 6 ------ keyboards/bear_face/info.json | 10 ++++++++++ keyboards/bear_face/v1/config.h | 19 ------------------- keyboards/bear_face/v1/info.json | 6 +++--- keyboards/bear_face/v2/config.h | 19 ------------------- keyboards/bear_face/v2/info.json | 6 +++--- 6 files changed, 16 insertions(+), 50 deletions(-) create mode 100644 keyboards/bear_face/info.json delete mode 100644 keyboards/bear_face/v1/config.h delete mode 100644 keyboards/bear_face/v2/config.h (limited to 'keyboards/bear_face') diff --git a/keyboards/bear_face/config.h b/keyboards/bear_face/config.h index 593f8a23a4..3cae02eb9d 100644 --- a/keyboards/bear_face/config.h +++ b/keyboards/bear_face/config.h @@ -19,12 +19,6 @@ along with this program. If not, see . #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0xFEED -#define PRODUCT_ID 0x09f5 -#define MANUFACTURER chemicalwill -#define PRODUCT bear_face - /* key matrix size */ #define MATRIX_ROWS 6 #define MATRIX_COLS 15 diff --git a/keyboards/bear_face/info.json b/keyboards/bear_face/info.json new file mode 100644 index 0000000000..e2589d91af --- /dev/null +++ b/keyboards/bear_face/info.json @@ -0,0 +1,10 @@ +{ + "keyboard_name": "bear_face", + "manufacturer": "chemicalwill", + "url": "https://github.com/chemicalwill/bear_face_pcb", + "maintainer": "chemicalwill", + "usb": { + "vid": "0xFEED", + "pid": "0x09F5" + } +} diff --git a/keyboards/bear_face/v1/config.h b/keyboards/bear_face/v1/config.h deleted file mode 100644 index cf1de932c1..0000000000 --- a/keyboards/bear_face/v1/config.h +++ /dev/null @@ -1,19 +0,0 @@ -/* -Copyright 2020 chemicalwill - -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 . -*/ - -/* USB Device descriptor parameter */ -#define DEVICE_VER 0x0100 diff --git a/keyboards/bear_face/v1/info.json b/keyboards/bear_face/v1/info.json index 0435c5c229..8d3f685e91 100644 --- a/keyboards/bear_face/v1/info.json +++ b/keyboards/bear_face/v1/info.json @@ -1,7 +1,7 @@ { - "keyboard_name": "bear_face", - "url": "https://github.com/chemicalwill/bear_face_pcb", - "maintainer": "chemicalwill", + "usb": { + "device_version": "1.0.0" + }, "layouts": { "LAYOUT_83_ansi": { "layout": [ diff --git a/keyboards/bear_face/v2/config.h b/keyboards/bear_face/v2/config.h deleted file mode 100644 index 6a7c8c6fb0..0000000000 --- a/keyboards/bear_face/v2/config.h +++ /dev/null @@ -1,19 +0,0 @@ -/* -Copyright 2020 chemicalwill - -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 . -*/ - -/* USB Device descriptor parameter */ -#define DEVICE_VER 0x0200 diff --git a/keyboards/bear_face/v2/info.json b/keyboards/bear_face/v2/info.json index 6d12f04d42..978ee59e49 100644 --- a/keyboards/bear_face/v2/info.json +++ b/keyboards/bear_face/v2/info.json @@ -1,7 +1,7 @@ { - "keyboard_name": "bear_face", - "url": "https://github.com/chemicalwill/bear_face_pcb", - "maintainer": "chemicalwill", + "usb": { + "device_version": "2.0.0" + }, "layouts": { "LAYOUT_83_ansi": { "layout": [ -- cgit v1.2.3