summaryrefslogtreecommitdiff
path: root/keyboards/8pack
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-14 10:47:05 +1000
committerGitHub <noreply@github.com>2022-08-13 17:47:05 -0700
commit30796913913c0f6dc0cce317ad8249de2b602294 (patch)
tree74c69b26ecb9c9923b3e5b8b4c9b9904741ed6d0 /keyboards/8pack
parent0f1bb982e97f0779e2885970f5e4677dbb555926 (diff)
Move keyboard USB IDs and strings to data driven, pass 2: 0-9, A (#17941)
Diffstat (limited to 'keyboards/8pack')
-rw-r--r--keyboards/8pack/config.h6
-rw-r--r--keyboards/8pack/info.json5
-rw-r--r--keyboards/8pack/rev11/config.h3
-rw-r--r--keyboards/8pack/rev11/info.json5
-rw-r--r--keyboards/8pack/rev12/config.h3
-rw-r--r--keyboards/8pack/rev12/info.json5
6 files changed, 15 insertions, 12 deletions
diff --git a/keyboards/8pack/config.h b/keyboards/8pack/config.h
index 88bd1f351b..b9b7abebe7 100644
--- a/keyboards/8pack/config.h
+++ b/keyboards/8pack/config.h
@@ -2,12 +2,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0xFEED
-#define PRODUCT_ID 0x2171
-#define MANUFACTURER Charles Garcia
-#define PRODUCT 8-Pack
-
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/8pack/info.json b/keyboards/8pack/info.json
index fc1bcb8ef8..f36f4c9dc3 100644
--- a/keyboards/8pack/info.json
+++ b/keyboards/8pack/info.json
@@ -1,7 +1,12 @@
{
"keyboard_name": "8-Pack",
+ "manufacturer": "Charles Garcia",
"url": "https://github.com/cgarcia2097/8-Pack",
"maintainer": "Charles Garcia",
+ "usb": {
+ "vid": "0xFEED",
+ "pid": "0x2171"
+ },
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/8pack/rev11/config.h b/keyboards/8pack/rev11/config.h
deleted file mode 100644
index 83ad51ada3..0000000000
--- a/keyboards/8pack/rev11/config.h
+++ /dev/null
@@ -1,3 +0,0 @@
-#pragma once
-
-#define DEVICE_VER 0x0001
diff --git a/keyboards/8pack/rev11/info.json b/keyboards/8pack/rev11/info.json
new file mode 100644
index 0000000000..90ac25f360
--- /dev/null
+++ b/keyboards/8pack/rev11/info.json
@@ -0,0 +1,5 @@
+{
+ "usb": {
+ "device_version": "0.0.1"
+ }
+}
diff --git a/keyboards/8pack/rev12/config.h b/keyboards/8pack/rev12/config.h
deleted file mode 100644
index 9a527501a5..0000000000
--- a/keyboards/8pack/rev12/config.h
+++ /dev/null
@@ -1,3 +0,0 @@
-#pragma once
-
-#define DEVICE_VER 0x0002
diff --git a/keyboards/8pack/rev12/info.json b/keyboards/8pack/rev12/info.json
new file mode 100644
index 0000000000..e557e4d307
--- /dev/null
+++ b/keyboards/8pack/rev12/info.json
@@ -0,0 +1,5 @@
+{
+ "usb": {
+ "device_version": "0.0.2"
+ }
+}