summaryrefslogtreecommitdiff
path: root/keyboards/idobao/id87
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-07-29 22:40:16 +1000
committerGitHub <noreply@github.com>2022-07-29 13:40:16 +0100
commitbcb8600a31843304ab51e67dfc7c9ad555739714 (patch)
tree5a67cb274199b753eee6d8be222ef1522564428b /keyboards/idobao/id87
parent1ded7ad46070d759cfa715354952eb220428b28c (diff)
Move keyboard USB IDs and strings to data driven: I (#17836)
Diffstat (limited to 'keyboards/idobao/id87')
-rw-r--r--keyboards/idobao/id87/v1/config.h7
-rw-r--r--keyboards/idobao/id87/v1/info.json6
-rw-r--r--keyboards/idobao/id87/v2/config.h7
-rw-r--r--keyboards/idobao/id87/v2/info.json6
4 files changed, 12 insertions, 14 deletions
diff --git a/keyboards/idobao/id87/v1/config.h b/keyboards/idobao/id87/v1/config.h
index a268091d40..6ae4cee1b5 100644
--- a/keyboards/idobao/id87/v1/config.h
+++ b/keyboards/idobao/id87/v1/config.h
@@ -16,13 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x6964 // "id"
-#define PRODUCT_ID 0x0087
-#define DEVICE_VER 0x0001
-#define MANUFACTURER IDOBAO
-#define PRODUCT IDOBAO ID87
-
/* key matrix size */
#define MATRIX_ROWS 11
#define MATRIX_COLS 9
diff --git a/keyboards/idobao/id87/v1/info.json b/keyboards/idobao/id87/v1/info.json
index f154bbd940..9f7c94619f 100644
--- a/keyboards/idobao/id87/v1/info.json
+++ b/keyboards/idobao/id87/v1/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "ID87",
+ "manufacturer": "IDOBAO",
"url": "https://www.idobao.net/products/idobao-id87-80-hot-swappable-mechanical-keyboard-kit",
"maintainer": "qmk",
+ "usb": {
+ "vid": "0x6964",
+ "pid": "0x0087",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_tkl_ansi": {
"layout": [
diff --git a/keyboards/idobao/id87/v2/config.h b/keyboards/idobao/id87/v2/config.h
index f094ef0638..a9d00d518b 100644
--- a/keyboards/idobao/id87/v2/config.h
+++ b/keyboards/idobao/id87/v2/config.h
@@ -5,13 +5,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x6964 // "id"
-#define PRODUCT_ID 0x0087
-#define DEVICE_VER 0x0002
-#define MANUFACTURER IDOBAO
-#define PRODUCT ID87
-
/* key matrix size */
#define MATRIX_ROWS 11
#define MATRIX_COLS 9
diff --git a/keyboards/idobao/id87/v2/info.json b/keyboards/idobao/id87/v2/info.json
index e4e252aa64..ef18643d70 100644
--- a/keyboards/idobao/id87/v2/info.json
+++ b/keyboards/idobao/id87/v2/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "ID87",
+ "manufacturer": "IDOBAO",
"url": "https://www.idobao.net/products/idobao-id87-80-hot-swappable-mechanical-keyboard-kit",
"maintainer": "qmk",
+ "usb": {
+ "vid": "0x6964",
+ "pid": "0x0087",
+ "device_version": "0.0.2"
+ },
"layouts": {
"LAYOUT_tkl_ansi": {
"layout": [