summaryrefslogtreecommitdiff
path: root/keyboards/sofle
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-04 08:12:37 +1000
committerGitHub <noreply@github.com>2022-08-04 08:12:37 +1000
commita8744b163074457253da2c63affd3b4cceefe04a (patch)
treea2410a2476a6dfb0dd51f15eebfc360c8238b413 /keyboards/sofle
parentb40c03140e5da1edac2faa2b672a84ea28d0a7c1 (diff)
Move keyboard USB IDs and strings to data driven: S (#17889)
Diffstat (limited to 'keyboards/sofle')
-rwxr-xr-xkeyboards/sofle/keyhive/config.h7
-rw-r--r--keyboards/sofle/keyhive/info.json6
-rw-r--r--keyboards/sofle/rev1/config.h7
-rw-r--r--keyboards/sofle/rev1/info.json6
4 files changed, 12 insertions, 14 deletions
diff --git a/keyboards/sofle/keyhive/config.h b/keyboards/sofle/keyhive/config.h
index 93048f3cd1..8663bf8933 100755
--- a/keyboards/sofle/keyhive/config.h
+++ b/keyboards/sofle/keyhive/config.h
@@ -19,13 +19,6 @@
#pragma once
#include "config_common.h"
-// USB Device descriptor parameter
-#define VENDOR_ID 0xFC32
-#define PRODUCT_ID 0x1287
-#define DEVICE_VER 0x0002
-#define MANUFACTURER Keyhive
-#define PRODUCT Sofle
-
// Key matrix size
// Rows are doubled-up. Added extra column for rotary encoder VIA mapping.
#define MATRIX_ROWS 10
diff --git a/keyboards/sofle/keyhive/info.json b/keyboards/sofle/keyhive/info.json
index aafc6a8c8b..fd15873c42 100644
--- a/keyboards/sofle/keyhive/info.json
+++ b/keyboards/sofle/keyhive/info.json
@@ -1,5 +1,11 @@
{
"keyboard_name": "Sofle",
+ "manufacturer": "Keyhive",
+ "usb": {
+ "vid": "0xFC32",
+ "pid": "0x1287",
+ "device_version": "0.0.2"
+ },
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/sofle/rev1/config.h b/keyboards/sofle/rev1/config.h
index a34c574326..26d35982df 100644
--- a/keyboards/sofle/rev1/config.h
+++ b/keyboards/sofle/rev1/config.h
@@ -1,12 +1,5 @@
#pragma once
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0xFC32
-#define PRODUCT_ID 0x0287
-#define DEVICE_VER 0x0001
-#define MANUFACTURER JosefAdamcik
-#define PRODUCT Sofle
-
/* key matrix size */
// Rows are doubled-up
#define MATRIX_ROWS 10
diff --git a/keyboards/sofle/rev1/info.json b/keyboards/sofle/rev1/info.json
index 7673c485bf..00afc505e3 100644
--- a/keyboards/sofle/rev1/info.json
+++ b/keyboards/sofle/rev1/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "Sofle",
+ "manufacturer": "JosefAdamcik",
"url": "https://github.com/josefadamcik/SofleKeyboard",
"maintainer": "Josef Adamcik <josef.adamcik@gmail.com>",
+ "usb": {
+ "vid": "0xFC32",
+ "pid": "0x0287",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [