summary refs log tree commit diff
path: root/keyboards/compound
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-07-26 09:04:09 +1000
committerGitHub <noreply@github.com>2022-07-26 00:04:09 +0100
commita939293aca697cb263f4972dbb1521d273fbf499 (patch)
treec582d4bf0a5937618d0f5cc12c6f70068bab56a5 /keyboards/compound
parentb6ac0ecf824bccfdc4114a0a15fc2c95b0ccd14d (diff)
Move keyboard USB IDs and strings to data driven: C (#17789)
Diffstat (limited to 'keyboards/compound')
-rw-r--r--keyboards/compound/config.h7
-rw-r--r--keyboards/compound/info.json6
2 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/compound/config.h b/keyboards/compound/config.h
index 43edc00660..fb9fd51e43 100644
--- a/keyboards/compound/config.h
+++ b/keyboards/compound/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       0x420A
-#define PRODUCT_ID      0xB0BA
-#define DEVICE_VER      0x0001
-#define MANUFACTURER    Sabomov
-#define PRODUCT         Compound
-
 /* key matrix size */
 #define MATRIX_ROWS 5
 #define MATRIX_COLS 15
diff --git a/keyboards/compound/info.json b/keyboards/compound/info.json
index f39a9ba1d4..b6963c0721 100644
--- a/keyboards/compound/info.json
+++ b/keyboards/compound/info.json
@@ -1,7 +1,13 @@
 {
     "keyboard_name": "Compound",
+    "manufacturer": "Sabomov",
     "url": "https://geekhack.org/index.php?topic=111187.0",
     "maintainer": "yumagulovrn",
+    "usb": {
+        "vid": "0x420A",
+        "pid": "0xB0BA",
+        "device_version": "0.0.1"
+    },
     "layouts": {
         "LAYOUT": {
             "layout": [