summaryrefslogtreecommitdiff
path: root/keyboards/melgeek
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/melgeek
parent1b92c204c10594fce6a715710c277a748a4fdc68 (diff)
Move keyboard USB IDs and strings to data driven: M (#17859)
Diffstat (limited to 'keyboards/melgeek')
-rwxr-xr-xkeyboards/melgeek/mach80/config.h7
-rwxr-xr-xkeyboards/melgeek/mach80/info.json6
-rw-r--r--keyboards/melgeek/mj61/config.h7
-rw-r--r--keyboards/melgeek/mj61/info.json6
-rw-r--r--keyboards/melgeek/mj63/config.h7
-rw-r--r--keyboards/melgeek/mj63/info.json6
-rw-r--r--keyboards/melgeek/mj64/config.h7
-rw-r--r--keyboards/melgeek/mj64/info.json6
-rw-r--r--keyboards/melgeek/mj65/config.h7
-rw-r--r--keyboards/melgeek/mj65/info.json6
-rwxr-xr-xkeyboards/melgeek/mj6xy/config.h7
-rwxr-xr-xkeyboards/melgeek/mj6xy/info.json6
-rwxr-xr-xkeyboards/melgeek/mojo68/config.h7
-rwxr-xr-xkeyboards/melgeek/mojo68/info.json6
-rw-r--r--keyboards/melgeek/mojo75/config.h7
-rw-r--r--keyboards/melgeek/mojo75/info.json6
-rwxr-xr-xkeyboards/melgeek/tegic/config.h7
-rwxr-xr-xkeyboards/melgeek/tegic/info.json6
-rw-r--r--keyboards/melgeek/z70ultra/config.h7
-rw-r--r--keyboards/melgeek/z70ultra/info.json6
20 files changed, 60 insertions, 70 deletions
diff --git a/keyboards/melgeek/mach80/config.h b/keyboards/melgeek/mach80/config.h
index 0e98030e25..aab6083eb0 100755
--- a/keyboards/melgeek/mach80/config.h
+++ b/keyboards/melgeek/mach80/config.h
@@ -18,13 +18,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0xEDED
-#define PRODUCT_ID 0x0080
-#define DEVICE_VER 0x0001
-#define MANUFACTURER MelGeek
-#define PRODUCT Mach80
-
/* key matrix size */
#define MATRIX_ROWS 6
#define MATRIX_COLS 16
diff --git a/keyboards/melgeek/mach80/info.json b/keyboards/melgeek/mach80/info.json
index ea7c628c6f..82e42ab44b 100755
--- a/keyboards/melgeek/mach80/info.json
+++ b/keyboards/melgeek/mach80/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "Mach80",
+ "manufacturer": "MelGeek",
"url": "",
"maintainer": "melgeek001365",
+ "usb": {
+ "vid": "0xEDED",
+ "pid": "0x0080",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_tkl_ansi": {
"layout": [
diff --git a/keyboards/melgeek/mj61/config.h b/keyboards/melgeek/mj61/config.h
index 0b5bd9ff48..407beba1e8 100644
--- a/keyboards/melgeek/mj61/config.h
+++ b/keyboards/melgeek/mj61/config.h
@@ -18,13 +18,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0xEDED
-#define PRODUCT_ID 0xED61
-#define DEVICE_VER 0x0001
-#define MANUFACTURER MelGeek
-#define PRODUCT MJ61
-
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 14
diff --git a/keyboards/melgeek/mj61/info.json b/keyboards/melgeek/mj61/info.json
index 52c98ecdab..559ea8da32 100644
--- a/keyboards/melgeek/mj61/info.json
+++ b/keyboards/melgeek/mj61/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "MJ61",
+ "manufacturer": "MelGeek",
"url": "",
"maintainer": "melgeek001365",
+ "usb": {
+ "vid": "0xEDED",
+ "pid": "0xED61",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_60_ansi": {
"layout": [
diff --git a/keyboards/melgeek/mj63/config.h b/keyboards/melgeek/mj63/config.h
index ddd953e1de..407beba1e8 100644
--- a/keyboards/melgeek/mj63/config.h
+++ b/keyboards/melgeek/mj63/config.h
@@ -18,13 +18,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0xEDED
-#define PRODUCT_ID 0x6063
-#define DEVICE_VER 0x0001
-#define MANUFACTURER MelGeek
-#define PRODUCT MJ63
-
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 14
diff --git a/keyboards/melgeek/mj63/info.json b/keyboards/melgeek/mj63/info.json
index 5c5983abd0..ab5c1c0ef9 100644
--- a/keyboards/melgeek/mj63/info.json
+++ b/keyboards/melgeek/mj63/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "MJ63",
+ "manufacturer": "MelGeek",
"url": "",
"maintainer": "melgeek001365",
+ "usb": {
+ "vid": "0xEDED",
+ "pid": "0x6063",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_60_ansi_arrow": {
"layout": [
diff --git a/keyboards/melgeek/mj64/config.h b/keyboards/melgeek/mj64/config.h
index 684c48720b..407beba1e8 100644
--- a/keyboards/melgeek/mj64/config.h
+++ b/keyboards/melgeek/mj64/config.h
@@ -18,13 +18,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0xEDED
-#define PRODUCT_ID 0x6064
-#define DEVICE_VER 0x0001
-#define MANUFACTURER MelGeek
-#define PRODUCT MJ64
-
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 14
diff --git a/keyboards/melgeek/mj64/info.json b/keyboards/melgeek/mj64/info.json
index 61a7ded2a1..d5a1d8340a 100644
--- a/keyboards/melgeek/mj64/info.json
+++ b/keyboards/melgeek/mj64/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "MJ64",
+ "manufacturer": "MelGeek",
"url": "",
"maintainer": "melgeek001365",
+ "usb": {
+ "vid": "0xEDED",
+ "pid": "0x6064",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_64_ansi": {
"layout": [
diff --git a/keyboards/melgeek/mj65/config.h b/keyboards/melgeek/mj65/config.h
index 4cf4f3f233..e009feed5b 100644
--- a/keyboards/melgeek/mj65/config.h
+++ b/keyboards/melgeek/mj65/config.h
@@ -18,13 +18,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0xEDED
-#define PRODUCT_ID 0x0065
-#define DEVICE_VER 0x0001
-#define MANUFACTURER MelGeek
-#define PRODUCT MJ65
-
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 15
diff --git a/keyboards/melgeek/mj65/info.json b/keyboards/melgeek/mj65/info.json
index e5fffa6d83..7eb67d30b3 100644
--- a/keyboards/melgeek/mj65/info.json
+++ b/keyboards/melgeek/mj65/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "MJ65",
+ "manufacturer": "MelGeek",
"url": "",
"maintainer": "melgeek001365",
+ "usb": {
+ "vid": "0xEDED",
+ "pid": "0x0065",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_65_ansi": {
"layout": [
diff --git a/keyboards/melgeek/mj6xy/config.h b/keyboards/melgeek/mj6xy/config.h
index 4a6336c1c9..fb02fddc1f 100755
--- a/keyboards/melgeek/mj6xy/config.h
+++ b/keyboards/melgeek/mj6xy/config.h
@@ -18,13 +18,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0xEDED
-#define PRODUCT_ID 0x6060
-#define DEVICE_VER 0x0001
-#define MANUFACTURER MelGeek
-#define PRODUCT MJ6XY
-
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCE 3
diff --git a/keyboards/melgeek/mj6xy/info.json b/keyboards/melgeek/mj6xy/info.json
index 712b97295c..7bd66020b0 100755
--- a/keyboards/melgeek/mj6xy/info.json
+++ b/keyboards/melgeek/mj6xy/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "MJ6XY",
+ "manufacturer": "MelGeek",
"url": "",
"maintainer": "melgeek001365",
+ "usb": {
+ "vid": "0xEDED",
+ "pid": "0x6060",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_60_ansi": {
"layout": [
diff --git a/keyboards/melgeek/mojo68/config.h b/keyboards/melgeek/mojo68/config.h
index ee441be0e1..3ef18c6785 100755
--- a/keyboards/melgeek/mojo68/config.h
+++ b/keyboards/melgeek/mojo68/config.h
@@ -18,13 +18,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0xEDED
-#define PRODUCT_ID 0x0068
-#define DEVICE_VER 0x0001
-#define MANUFACTURER MelGeek
-#define PRODUCT MoJo68
-
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 15
diff --git a/keyboards/melgeek/mojo68/info.json b/keyboards/melgeek/mojo68/info.json
index 843637d901..4f7ae646be 100755
--- a/keyboards/melgeek/mojo68/info.json
+++ b/keyboards/melgeek/mojo68/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "MoJo68",
+ "manufacturer": "MelGeek",
"url": "",
"maintainer": "melgeek001365",
+ "usb": {
+ "vid": "0xEDED",
+ "pid": "0x0068",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_68_ansi": {
"layout": [
diff --git a/keyboards/melgeek/mojo75/config.h b/keyboards/melgeek/mojo75/config.h
index 2db335dafb..67c79df409 100644
--- a/keyboards/melgeek/mojo75/config.h
+++ b/keyboards/melgeek/mojo75/config.h
@@ -18,13 +18,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0xEDED
-#define PRODUCT_ID 0x7075
-#define DEVICE_VER 0x0001
-#define MANUFACTURER MelGeek
-#define PRODUCT MOJO75
-
/* key matrix size */
#define MATRIX_ROWS 6
#define MATRIX_COLS 16
diff --git a/keyboards/melgeek/mojo75/info.json b/keyboards/melgeek/mojo75/info.json
index 95f750b9f2..7c3133d207 100644
--- a/keyboards/melgeek/mojo75/info.json
+++ b/keyboards/melgeek/mojo75/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "MoJo75",
+ "manufacturer": "MelGeek",
"url": "",
"maintainer": "melgeek001365",
+ "usb": {
+ "vid": "0xEDED",
+ "pid": "0x7075",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_75_ansi": {
"layout": [
diff --git a/keyboards/melgeek/tegic/config.h b/keyboards/melgeek/tegic/config.h
index d264ec5e31..b16fb73b0d 100755
--- a/keyboards/melgeek/tegic/config.h
+++ b/keyboards/melgeek/tegic/config.h
@@ -18,13 +18,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0xEDED
-#define PRODUCT_ID 0x0081
-#define DEVICE_VER 0x0001
-#define MANUFACTURER MelGeek
-#define PRODUCT tegic
-
/* key matrix size */
#define MATRIX_ROWS 6
#define MATRIX_COLS 15
diff --git a/keyboards/melgeek/tegic/info.json b/keyboards/melgeek/tegic/info.json
index 21a12ee113..5526ec080c 100755
--- a/keyboards/melgeek/tegic/info.json
+++ b/keyboards/melgeek/tegic/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "tegic",
+ "manufacturer": "MelGeek",
"url": "",
"maintainer": "melgeek001365",
+ "usb": {
+ "vid": "0xEDED",
+ "pid": "0x0081",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_tegic_ansi": {
"layout": [
diff --git a/keyboards/melgeek/z70ultra/config.h b/keyboards/melgeek/z70ultra/config.h
index 0f294c9e00..2b5f6e5955 100644
--- a/keyboards/melgeek/z70ultra/config.h
+++ b/keyboards/melgeek/z70ultra/config.h
@@ -18,13 +18,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0xEDED
-#define PRODUCT_ID 0x6570
-#define DEVICE_VER 0x0001
-#define MANUFACTURER MelGeek
-#define PRODUCT Z70Ultra
-
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/melgeek/z70ultra/info.json b/keyboards/melgeek/z70ultra/info.json
index e24b177070..9cb5ad05fe 100644
--- a/keyboards/melgeek/z70ultra/info.json
+++ b/keyboards/melgeek/z70ultra/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "Z70Ultra",
+ "manufacturer": "MelGeek",
"url": "",
"maintainer": "melgeek001365",
+ "usb": {
+ "vid": "0xEDED",
+ "pid": "0x6570",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_65_ansi_blocker": {
"layout": [