summaryrefslogtreecommitdiff
path: root/keyboards/meletrix
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-03 17:15:43 +1000
committerGitHub <noreply@github.com>2022-08-03 17:15:43 +1000
commit3da6575e2480d46399be01c21270c57420e0f16d (patch)
treef3438c1402e56256dd0c2bdd0775711edae56043 /keyboards/meletrix
parent1b92c204c10594fce6a715710c277a748a4fdc68 (diff)
Move keyboard USB IDs and strings to data driven: M (#17859)
Diffstat (limited to 'keyboards/meletrix')
-rw-r--r--keyboards/meletrix/zoom65/config.h7
-rw-r--r--keyboards/meletrix/zoom65/info.json6
-rw-r--r--keyboards/meletrix/zoom65_lite/config.h7
-rw-r--r--keyboards/meletrix/zoom65_lite/info.json6
-rw-r--r--keyboards/meletrix/zoom87/config.h7
-rw-r--r--keyboards/meletrix/zoom87/info.json6
6 files changed, 18 insertions, 21 deletions
diff --git a/keyboards/meletrix/zoom65/config.h b/keyboards/meletrix/zoom65/config.h
index 6d6f6d18eb..d3a0a2f3b0 100644
--- a/keyboards/meletrix/zoom65/config.h
+++ b/keyboards/meletrix/zoom65/config.h
@@ -18,13 +18,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x806B
-#define PRODUCT_ID 0x0004
-#define DEVICE_VER 0x0001
-#define MANUFACTURER meletrix
-#define PRODUCT zoom65
-
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 15
diff --git a/keyboards/meletrix/zoom65/info.json b/keyboards/meletrix/zoom65/info.json
index 8cc7dce8c3..ea128402e9 100644
--- a/keyboards/meletrix/zoom65/info.json
+++ b/keyboards/meletrix/zoom65/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "zoom65",
+ "manufacturer": "meletrix",
"url": "https://zoom65.com/",
"maintainer": "spbgzh",
+ "usb": {
+ "vid": "0x806B",
+ "pid": "0x0004",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_all": {
"layout": [
diff --git a/keyboards/meletrix/zoom65_lite/config.h b/keyboards/meletrix/zoom65_lite/config.h
index 1f98a4dfda..d3a0a2f3b0 100644
--- a/keyboards/meletrix/zoom65_lite/config.h
+++ b/keyboards/meletrix/zoom65_lite/config.h
@@ -18,13 +18,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x806C
-#define PRODUCT_ID 0x0005
-#define DEVICE_VER 0x0001
-#define MANUFACTURER meletrix
-#define PRODUCT zoom65_lite
-
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 15
diff --git a/keyboards/meletrix/zoom65_lite/info.json b/keyboards/meletrix/zoom65_lite/info.json
index 5bfddbd095..aa2c141139 100644
--- a/keyboards/meletrix/zoom65_lite/info.json
+++ b/keyboards/meletrix/zoom65_lite/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "zoom65_lite",
+ "manufacturer": "meletrix",
"url": "https://zoom65.com/",
"maintainer": "spbgzh",
+ "usb": {
+ "vid": "0x806C",
+ "pid": "0x0005",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_all": {
"layout": [
diff --git a/keyboards/meletrix/zoom87/config.h b/keyboards/meletrix/zoom87/config.h
index a59bbe1788..89e8cf5611 100644
--- a/keyboards/meletrix/zoom87/config.h
+++ b/keyboards/meletrix/zoom87/config.h
@@ -18,13 +18,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x906F
-#define PRODUCT_ID 0x0007
-#define DEVICE_VER 0x0001
-#define MANUFACTURER meletrix
-#define PRODUCT zoom87
-
/* key matrix size */
#define MATRIX_ROWS 6
#define MATRIX_COLS 17
diff --git a/keyboards/meletrix/zoom87/info.json b/keyboards/meletrix/zoom87/info.json
index f1a41625c3..5d37e84c01 100644
--- a/keyboards/meletrix/zoom87/info.json
+++ b/keyboards/meletrix/zoom87/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "zoom87",
+ "manufacturer": "meletrix",
"url": "https://zoom65.com/",
"maintainer": "spbgzh",
+ "usb": {
+ "vid": "0x906F",
+ "pid": "0x0007",
+ "device_version": "0.0.1"
+ },
"layout_aliases": {
"LAYOUT_87": "LAYOUT_tkl_f13",
"LAYOUT_87_split_bs": "LAYOUT_tkl_f13_split_bs",