summaryrefslogtreecommitdiff
path: root/keyboards/kabedon
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-03 17:03:47 +1000
committerGitHub <noreply@github.com>2022-08-03 17:03:47 +1000
commit1b92c204c10594fce6a715710c277a748a4fdc68 (patch)
tree0b238d2ae2b06f29ad9e0db04e698b39d259e689 /keyboards/kabedon
parentce9bb6d39bd1a0a3622dc95b9819f1ef5b33daf7 (diff)
downloadqmk_firmware-1b92c204c10594fce6a715710c277a748a4fdc68.tar.gz
qmk_firmware-1b92c204c10594fce6a715710c277a748a4fdc68.zip
Move keyboard USB IDs and strings to data driven: K (#17846)
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
Diffstat (limited to 'keyboards/kabedon')
-rw-r--r--keyboards/kabedon/kabedon78s/config.h7
-rw-r--r--keyboards/kabedon/kabedon78s/info.json8
-rw-r--r--keyboards/kabedon/kabedon980/config.h8
-rw-r--r--keyboards/kabedon/kabedon980/info.json8
-rw-r--r--keyboards/kabedon/kabedon98e/config.h7
-rw-r--r--keyboards/kabedon/kabedon98e/info.json8
6 files changed, 21 insertions, 25 deletions
diff --git a/keyboards/kabedon/kabedon78s/config.h b/keyboards/kabedon/kabedon78s/config.h
index e0076afed8..fe34ddf67c 100644
--- a/keyboards/kabedon/kabedon78s/config.h
+++ b/keyboards/kabedon/kabedon78s/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 0x4B44 //KD
-#define PRODUCT_ID 0x3738 //78
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Kabe_Don
-#define PRODUCT 78S
-
/* key matrix size */
#define MATRIX_ROWS 6
#define MATRIX_COLS 18
diff --git a/keyboards/kabedon/kabedon78s/info.json b/keyboards/kabedon/kabedon78s/info.json
index beaf71bd14..83668c5458 100644
--- a/keyboards/kabedon/kabedon78s/info.json
+++ b/keyboards/kabedon/kabedon78s/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "KabeDon78s",
+ "keyboard_name": "78S",
+ "manufacturer": "Kabe_Don",
"url": "",
"maintainer": "370490639",
+ "usb": {
+ "vid": "0x4B44",
+ "pid": "0x3738",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/kabedon/kabedon980/config.h b/keyboards/kabedon/kabedon980/config.h
index db93dfcf85..7da74f6c92 100644
--- a/keyboards/kabedon/kabedon980/config.h
+++ b/keyboards/kabedon/kabedon980/config.h
@@ -19,14 +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 0x4B44 //KD
-#define PRODUCT_ID 0x3938 //98
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Kabe_Don
-#define PRODUCT 980
-
-
/* key matrix size */
#define MATRIX_ROWS 10
#define MATRIX_COLS 13
diff --git a/keyboards/kabedon/kabedon980/info.json b/keyboards/kabedon/kabedon980/info.json
index 5be1ee11dd..879ea537be 100644
--- a/keyboards/kabedon/kabedon980/info.json
+++ b/keyboards/kabedon/kabedon980/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "KabeDon980",
+ "keyboard_name": "980",
+ "manufacturer": "Kabe_Don",
"url": "https://kabedon.taobao.com",
"maintainer": "370490639",
+ "usb": {
+ "vid": "0x4B44",
+ "pid": "0x3938",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/kabedon/kabedon98e/config.h b/keyboards/kabedon/kabedon98e/config.h
index a34e99bccd..e5cd98c40b 100644
--- a/keyboards/kabedon/kabedon98e/config.h
+++ b/keyboards/kabedon/kabedon98e/config.h
@@ -17,13 +17,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x4B44
-#define PRODUCT_ID 0x3935
-#define DEVICE_VER 0x0002
-#define MANUFACTURER Kabe_Don
-#define PRODUCT 98e
-
/* key matrix size */
#define MATRIX_ROWS 12
#define MATRIX_COLS 11
diff --git a/keyboards/kabedon/kabedon98e/info.json b/keyboards/kabedon/kabedon98e/info.json
index de8f975b2d..60a1cd25c6 100644
--- a/keyboards/kabedon/kabedon98e/info.json
+++ b/keyboards/kabedon/kabedon98e/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "KabeDon98E",
+ "keyboard_name": "98e",
+ "manufacturer": "Kabe_Don",
"url": "",
"maintainer": "370490639",
+ "usb": {
+ "vid": "0x4B44",
+ "pid": "0x3935",
+ "device_version": "0.0.2"
+ },
"layouts": {
"LAYOUT": {
"layout": [