summaryrefslogtreecommitdiffstats
path: root/keyboards/idobao/id80
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-15 11:53:19 +1000
committerGitHub <noreply@github.com>2022-08-15 02:53:19 +0100
commit1027aed83a264d03cf3bbfd4a85ca7d240217b0f (patch)
tree17d41fcd7ac83fd21b0b1bac30eb16ac8e1be4b6 /keyboards/idobao/id80
parent4c91e5bef8324d6b21625aa698f153d9b47600d0 (diff)
Move keyboard USB IDs and strings to data driven, pass 2: F-I (#17958)
Diffstat (limited to 'keyboards/idobao/id80')
-rw-r--r--keyboards/idobao/id80/v1/ansi/config.h27
-rw-r--r--keyboards/idobao/id80/v1/ansi/info.json6
-rw-r--r--keyboards/idobao/id80/v1/info.json6
-rw-r--r--keyboards/idobao/id80/v1/iso/config.h27
-rw-r--r--keyboards/idobao/id80/v1/iso/info.json6
5 files changed, 17 insertions, 55 deletions
diff --git a/keyboards/idobao/id80/v1/ansi/config.h b/keyboards/idobao/id80/v1/ansi/config.h
deleted file mode 100644
index 253c0757b8..0000000000
--- a/keyboards/idobao/id80/v1/ansi/config.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
-Copyright 2020 Sergey Vlasov <sigprof@gmail.com>
-
-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
-
-#include "config_common.h"
-
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x6964 /* "id" */
-#define PRODUCT_ID 0x0080
-#define DEVICE_VER 0x0001
-#define MANUFACTURER IDOBAO
-#define PRODUCT ID80
diff --git a/keyboards/idobao/id80/v1/ansi/info.json b/keyboards/idobao/id80/v1/ansi/info.json
new file mode 100644
index 0000000000..e44e5f8b00
--- /dev/null
+++ b/keyboards/idobao/id80/v1/ansi/info.json
@@ -0,0 +1,6 @@
+{
+ "keyboard_name": "ID80 ANSI",
+ "usb": {
+ "pid": "0x0080",
+ }
+}
diff --git a/keyboards/idobao/id80/v1/info.json b/keyboards/idobao/id80/v1/info.json
index 072b4ca4db..a4c11f4719 100644
--- a/keyboards/idobao/id80/v1/info.json
+++ b/keyboards/idobao/id80/v1/info.json
@@ -1,7 +1,11 @@
{
- "keyboard_name": "ID80",
+ "manufacturer": "IDOBAO",
"url": "",
"maintainer": "qmk",
+ "usb": {
+ "vid": "0x6964",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/idobao/id80/v1/iso/config.h b/keyboards/idobao/id80/v1/iso/config.h
deleted file mode 100644
index cd9c497442..0000000000
--- a/keyboards/idobao/id80/v1/iso/config.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
-Copyright 2020 Sergey Vlasov <sigprof@gmail.com>
-
-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
-
-#include "config_common.h"
-
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x6964 /* "id" */
-#define PRODUCT_ID 0x0081
-#define DEVICE_VER 0x0001
-#define MANUFACTURER IDOBAO
-#define PRODUCT ID80 ISO
diff --git a/keyboards/idobao/id80/v1/iso/info.json b/keyboards/idobao/id80/v1/iso/info.json
new file mode 100644
index 0000000000..7512d696e2
--- /dev/null
+++ b/keyboards/idobao/id80/v1/iso/info.json
@@ -0,0 +1,6 @@
+{
+ "keyboard_name": "ID80 ISO",
+ "usb": {
+ "pid": "0x0081",
+ }
+}