summaryrefslogtreecommitdiff
path: root/keyboards/ada
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-07-26 10:52:18 +1000
committerGitHub <noreply@github.com>2022-07-26 01:52:18 +0100
commit674422eb13a4f5c9c8238629e42f4fc1d7641ede (patch)
treea6bd07b6866ea0bb189c05e2bf63cbfa20dc5bc5 /keyboards/ada
parenta939293aca697cb263f4972dbb1521d273fbf499 (diff)
Move keyboard USB IDs and strings to data driven: A (#17781)
Diffstat (limited to 'keyboards/ada')
-rw-r--r--keyboards/ada/ada1800mini/config.h7
-rw-r--r--keyboards/ada/ada1800mini/info.json6
-rw-r--r--keyboards/ada/infinity81/config.h7
-rw-r--r--keyboards/ada/infinity81/info.json6
4 files changed, 12 insertions, 14 deletions
diff --git a/keyboards/ada/ada1800mini/config.h b/keyboards/ada/ada1800mini/config.h
index 38be5ad5c7..36dc47c124 100644
--- a/keyboards/ada/ada1800mini/config.h
+++ b/keyboards/ada/ada1800mini/config.h
@@ -18,13 +18,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0xADA0
-#define PRODUCT_ID 0x1800
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Ada
-#define PRODUCT ada1800mini
-
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 15
diff --git a/keyboards/ada/ada1800mini/info.json b/keyboards/ada/ada1800mini/info.json
index 8e746467fc..a7cf7986bd 100644
--- a/keyboards/ada/ada1800mini/info.json
+++ b/keyboards/ada/ada1800mini/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "ada1800mini",
+ "manufacturer": "Ada",
"url": "",
"maintainer": "qmk",
+ "usb": {
+ "vid": "0xADA0",
+ "pid": "0x1800",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/ada/infinity81/config.h b/keyboards/ada/infinity81/config.h
index af28efeae2..173f2685d7 100644
--- a/keyboards/ada/infinity81/config.h
+++ b/keyboards/ada/infinity81/config.h
@@ -5,13 +5,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0xADA0
-#define PRODUCT_ID 0x0081
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Ada
-#define PRODUCT infinity81
-
/* key matrix size */
#define MATRIX_ROWS 6
#define MATRIX_COLS 15
diff --git a/keyboards/ada/infinity81/info.json b/keyboards/ada/infinity81/info.json
index 71fb774721..b2d465fdf9 100644
--- a/keyboards/ada/infinity81/info.json
+++ b/keyboards/ada/infinity81/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "infinity81",
+ "manufacturer": "Ada",
"url": "",
"maintainer": "qmk",
+ "usb": {
+ "vid": "0xADA0",
+ "pid": "0x0081",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [