summaryrefslogtreecommitdiff
path: root/keyboards/edi
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-15 13:30:12 +1000
committerGitHub <noreply@github.com>2022-08-15 13:30:12 +1000
commit51d5aad25b92a34bc051849616fcd93e3ae407fc (patch)
tree9c73ecbf89d0dcc3e2876355b02403816e60950e /keyboards/edi
parent1027aed83a264d03cf3bbfd4a85ca7d240217b0f (diff)
Move keyboard USB IDs and strings to data driven, pass 2: D-E (#17956)
Diffstat (limited to 'keyboards/edi')
-rw-r--r--keyboards/edi/hardlight/mk1/config.h7
-rw-r--r--keyboards/edi/hardlight/mk1/info.json9
-rw-r--r--keyboards/edi/hardlight/mk2/config.h7
-rw-r--r--keyboards/edi/hardlight/mk2/info.json9
4 files changed, 18 insertions, 14 deletions
diff --git a/keyboards/edi/hardlight/mk1/config.h b/keyboards/edi/hardlight/mk1/config.h
index be136fe9c9..f8b981ab29 100644
--- a/keyboards/edi/hardlight/mk1/config.h
+++ b/keyboards/edi/hardlight/mk1/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 0xF7E0
-#define PRODUCT_ID 0x2401
-#define DEVICE_VER 0x0000
-#define MANUFACTURER Everywhere Defense Industries
-#define PRODUCT Hard Light
-
/* key matrix size */
#define MATRIX_ROWS 8
#define MATRIX_COLS 8
diff --git a/keyboards/edi/hardlight/mk1/info.json b/keyboards/edi/hardlight/mk1/info.json
new file mode 100644
index 0000000000..f0ff1b915f
--- /dev/null
+++ b/keyboards/edi/hardlight/mk1/info.json
@@ -0,0 +1,9 @@
+{
+ "keyboard_name": "Hard Light",
+ "manufacturer": "Everywhere Defense Industries",
+ "usb": {
+ "vid": "0xF7E0",
+ "pid": "0x2401",
+ "device_version": "0.0.1"
+ }
+}
diff --git a/keyboards/edi/hardlight/mk2/config.h b/keyboards/edi/hardlight/mk2/config.h
index 8580aabec5..2cf9ab9af9 100644
--- a/keyboards/edi/hardlight/mk2/config.h
+++ b/keyboards/edi/hardlight/mk2/config.h
@@ -17,13 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0xF7E0
-#define PRODUCT_ID 0x2408
-#define DEVICE_VER 0x0007
-#define MANUFACTURER Everywhere Defense Industries
-#define PRODUCT Hard Light Mk 2
-
/* key matrix size */
#define MATRIX_ROWS 8
#define MATRIX_COLS 8
diff --git a/keyboards/edi/hardlight/mk2/info.json b/keyboards/edi/hardlight/mk2/info.json
new file mode 100644
index 0000000000..25e9b06d49
--- /dev/null
+++ b/keyboards/edi/hardlight/mk2/info.json
@@ -0,0 +1,9 @@
+{
+ "keyboard_name": "Hard Light Mk 2",
+ "manufacturer": "Everywhere Defense Industries",
+ "usb": {
+ "vid": "0xF7E0",
+ "pid": "0x2408",
+ "device_version": "0.0.7"
+ }
+}