summaryrefslogtreecommitdiff
path: root/keyboards/aplyard
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/aplyard
parent0f1bb982e97f0779e2885970f5e4677dbb555926 (diff)
downloadqmk_firmware-30796913913c0f6dc0cce317ad8249de2b602294.tar.gz
qmk_firmware-30796913913c0f6dc0cce317ad8249de2b602294.zip
Move keyboard USB IDs and strings to data driven, pass 2: 0-9, A (#17941)
Diffstat (limited to 'keyboards/aplyard')
-rw-r--r--keyboards/aplyard/aplx6/info.json4
-rw-r--r--keyboards/aplyard/aplx6/rev1/config.h7
-rw-r--r--keyboards/aplyard/aplx6/rev1/info.json6
-rw-r--r--keyboards/aplyard/aplx6/rev2/config.h7
-rw-r--r--keyboards/aplyard/aplx6/rev2/info.json6
5 files changed, 16 insertions, 14 deletions
diff --git a/keyboards/aplyard/aplx6/info.json b/keyboards/aplyard/aplx6/info.json
index 2df8d9fb3a..0bd317c1a4 100644
--- a/keyboards/aplyard/aplx6/info.json
+++ b/keyboards/aplyard/aplx6/info.json
@@ -1,7 +1,11 @@
{
"keyboard_name": "Aplx6",
+ "manufacturer": "Aplyard",
"url": "",
"maintainer": "Aplyard",
+ "usb": {
+ "vid": "0xE0E0"
+ },
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/aplyard/aplx6/rev1/config.h b/keyboards/aplyard/aplx6/rev1/config.h
index 98a7381cc7..3e77e71e90 100644
--- a/keyboards/aplyard/aplx6/rev1/config.h
+++ b/keyboards/aplyard/aplx6/rev1/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 0xE0E0
-#define PRODUCT_ID 0x0030
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Aplyard
-#define PRODUCT Aplx6
-
/* key matrix size */
#define MATRIX_ROWS 2
#define MATRIX_COLS 3
diff --git a/keyboards/aplyard/aplx6/rev1/info.json b/keyboards/aplyard/aplx6/rev1/info.json
new file mode 100644
index 0000000000..3eb12dda15
--- /dev/null
+++ b/keyboards/aplyard/aplx6/rev1/info.json
@@ -0,0 +1,6 @@
+{
+ "usb": {
+ "pid": "0x0030",
+ "device_version": "0.0.1"
+ }
+}
diff --git a/keyboards/aplyard/aplx6/rev2/config.h b/keyboards/aplyard/aplx6/rev2/config.h
index 2b30e67e09..b2373c6ec8 100644
--- a/keyboards/aplyard/aplx6/rev2/config.h
+++ b/keyboards/aplyard/aplx6/rev2/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 0xE0E0
-#define PRODUCT_ID 0x0040
-#define DEVICE_VER 0x0002
-#define MANUFACTURER Aplyard
-#define PRODUCT Aplx6
-
/* key matrix size */
#define MATRIX_ROWS 2
#define MATRIX_COLS 3
diff --git a/keyboards/aplyard/aplx6/rev2/info.json b/keyboards/aplyard/aplx6/rev2/info.json
new file mode 100644
index 0000000000..06fc50187a
--- /dev/null
+++ b/keyboards/aplyard/aplx6/rev2/info.json
@@ -0,0 +1,6 @@
+{
+ "usb": {
+ "pid": "0x0040",
+ "device_version": "0.0.2"
+ }
+}