summaryrefslogtreecommitdiff
path: root/keyboards/4pplet/waffling60
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/4pplet/waffling60
parent0f1bb982e97f0779e2885970f5e4677dbb555926 (diff)
Move keyboard USB IDs and strings to data driven, pass 2: 0-9, A (#17941)
Diffstat (limited to 'keyboards/4pplet/waffling60')
-rw-r--r--keyboards/4pplet/waffling60/info.json5
-rw-r--r--keyboards/4pplet/waffling60/rev_a/config.h7
-rw-r--r--keyboards/4pplet/waffling60/rev_a/info.json7
-rw-r--r--keyboards/4pplet/waffling60/rev_b/config.h7
-rw-r--r--keyboards/4pplet/waffling60/rev_b/info.json7
-rw-r--r--keyboards/4pplet/waffling60/rev_c/config.h7
-rw-r--r--keyboards/4pplet/waffling60/rev_c/info.json7
7 files changed, 25 insertions, 22 deletions
diff --git a/keyboards/4pplet/waffling60/info.json b/keyboards/4pplet/waffling60/info.json
index 0ff2c1f7e8..9e4f081ddc 100644
--- a/keyboards/4pplet/waffling60/info.json
+++ b/keyboards/4pplet/waffling60/info.json
@@ -1,7 +1,10 @@
{
- "keyboard_name": "Waffling60 Rev A",
+ "manufacturer": "4pplet",
"url": "https://github.com/4pplet/waffling60",
"maintainer": "4pplet",
+ "usb": {
+ "vid": "0x4444"
+ },
"layouts": {
"LAYOUT_all": {
"layout": [
diff --git a/keyboards/4pplet/waffling60/rev_a/config.h b/keyboards/4pplet/waffling60/rev_a/config.h
index 33279d67a7..5b5066859c 100644
--- a/keyboards/4pplet/waffling60/rev_a/config.h
+++ b/keyboards/4pplet/waffling60/rev_a/config.h
@@ -2,13 +2,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x4444
-#define PRODUCT_ID 0x0003
-#define DEVICE_VER 0x0001
-#define MANUFACTURER 4pplet
-#define PRODUCT waffling60 Rev A
-
/* key matrix size */
#define MATRIX_ROWS 6
#define MATRIX_COLS 11
diff --git a/keyboards/4pplet/waffling60/rev_a/info.json b/keyboards/4pplet/waffling60/rev_a/info.json
new file mode 100644
index 0000000000..6d4bf31f32
--- /dev/null
+++ b/keyboards/4pplet/waffling60/rev_a/info.json
@@ -0,0 +1,7 @@
+{
+ "keyboard_name": "Waffling60 Rev A",
+ "usb": {
+ "pid": "0x0003",
+ "device_version": "0.0.1"
+ }
+}
diff --git a/keyboards/4pplet/waffling60/rev_b/config.h b/keyboards/4pplet/waffling60/rev_b/config.h
index eb9882d738..69d9a485c5 100644
--- a/keyboards/4pplet/waffling60/rev_b/config.h
+++ b/keyboards/4pplet/waffling60/rev_b/config.h
@@ -18,13 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x4444
-#define PRODUCT_ID 0x0005
-#define DEVICE_VER 0x0002
-#define MANUFACTURER 4pplet
-#define PRODUCT waffling60 Rev B
-
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 14
diff --git a/keyboards/4pplet/waffling60/rev_b/info.json b/keyboards/4pplet/waffling60/rev_b/info.json
new file mode 100644
index 0000000000..1e0075d47b
--- /dev/null
+++ b/keyboards/4pplet/waffling60/rev_b/info.json
@@ -0,0 +1,7 @@
+{
+ "keyboard_name": "Waffling60 Rev B",
+ "usb": {
+ "pid": "0x0005",
+ "device_version": "0.0.2"
+ }
+}
diff --git a/keyboards/4pplet/waffling60/rev_c/config.h b/keyboards/4pplet/waffling60/rev_c/config.h
index e1862f4c0e..6afdcced5b 100644
--- a/keyboards/4pplet/waffling60/rev_c/config.h
+++ b/keyboards/4pplet/waffling60/rev_c/config.h
@@ -18,13 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x4444
-#define PRODUCT_ID 0x0008
-#define DEVICE_VER 0x0003
-#define MANUFACTURER 4pplet
-#define PRODUCT waffling60 Rev C
-
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 14
diff --git a/keyboards/4pplet/waffling60/rev_c/info.json b/keyboards/4pplet/waffling60/rev_c/info.json
new file mode 100644
index 0000000000..5af681f27a
--- /dev/null
+++ b/keyboards/4pplet/waffling60/rev_c/info.json
@@ -0,0 +1,7 @@
+{
+ "keyboard_name": "Waffling60 Rev C",
+ "usb": {
+ "pid": "0x0008",
+ "device_version": "0.0.3"
+ }
+}