summaryrefslogtreecommitdiff
path: root/keyboards/sam/sg81m
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/sam/sg81m
parentb40c03140e5da1edac2faa2b672a84ea28d0a7c1 (diff)
Move keyboard USB IDs and strings to data driven: S (#17889)
Diffstat (limited to 'keyboards/sam/sg81m')
-rw-r--r--keyboards/sam/sg81m/config.h7
-rw-r--r--keyboards/sam/sg81m/info.json8
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/sam/sg81m/config.h b/keyboards/sam/sg81m/config.h
index a0dca89211..da483a7cf5 100644
--- a/keyboards/sam/sg81m/config.h
+++ b/keyboards/sam/sg81m/config.h
@@ -18,13 +18,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x534D //SM
-#define PRODUCT_ID 0x3831 //81
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Sam
-#define PRODUCT SG81M
-
/* key matrix size */
#define MATRIX_ROWS 6
#define MATRIX_COLS 14
diff --git a/keyboards/sam/sg81m/info.json b/keyboards/sam/sg81m/info.json
index 439d8562e9..59561a84f3 100644
--- a/keyboards/sam/sg81m/info.json
+++ b/keyboards/sam/sg81m/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "sam sg81m",
+ "keyboard_name": "SG81M",
+ "manufacturer": "Sam",
"url": "",
"maintainer": "CMMS-Freather",
+ "usb": {
+ "vid": "0x534D",
+ "pid": "0x3831",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_7u_space": {
"layout": [