summaryrefslogtreecommitdiff
path: root/keyboards/cmm_studio
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/cmm_studio
parentb6ac0ecf824bccfdc4114a0a15fc2c95b0ccd14d (diff)
downloadqmk_firmware-a939293aca697cb263f4972dbb1521d273fbf499.tar.gz
qmk_firmware-a939293aca697cb263f4972dbb1521d273fbf499.zip
Move keyboard USB IDs and strings to data driven: C (#17789)
Diffstat (limited to 'keyboards/cmm_studio')
-rw-r--r--keyboards/cmm_studio/fuji65/config.h7
-rw-r--r--keyboards/cmm_studio/fuji65/info.json8
-rw-r--r--keyboards/cmm_studio/saka68/hotswap/config.h7
-rw-r--r--keyboards/cmm_studio/saka68/hotswap/info.json8
-rw-r--r--keyboards/cmm_studio/saka68/solder/config.h7
-rw-r--r--keyboards/cmm_studio/saka68/solder/info.json8
6 files changed, 21 insertions, 24 deletions
diff --git a/keyboards/cmm_studio/fuji65/config.h b/keyboards/cmm_studio/fuji65/config.h
index e93ae62c67..891eb88548 100644
--- a/keyboards/cmm_studio/fuji65/config.h
+++ b/keyboards/cmm_studio/fuji65/config.h
@@ -18,13 +18,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x434D
-#define PRODUCT_ID 0x364D
-#define DEVICE_VER 0x0001
-#define MANUFACTURER CMM.Studio
-#define PRODUCT Fuji65
-
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 15
diff --git a/keyboards/cmm_studio/fuji65/info.json b/keyboards/cmm_studio/fuji65/info.json
index 4d5080a831..f1258aea8e 100644
--- a/keyboards/cmm_studio/fuji65/info.json
+++ b/keyboards/cmm_studio/fuji65/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "cmm.studio fuji65",
+ "keyboard_name": "Fuji65",
+ "manufacturer": "CMM.Studio",
"url": "",
"maintainer": "CMMS-Freather",
+ "usb": {
+ "vid": "0x434D",
+ "pid": "0x364D",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/cmm_studio/saka68/hotswap/config.h b/keyboards/cmm_studio/saka68/hotswap/config.h
index 9879dadd50..592fcf8782 100644
--- a/keyboards/cmm_studio/saka68/hotswap/config.h
+++ b/keyboards/cmm_studio/saka68/hotswap/config.h
@@ -20,13 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x434D
-#define PRODUCT_ID 0x5348
-#define DEVICE_VER 0x0001
-#define MANUFACTURER CMM.Studio
-#define PRODUCT Saka68 Hotswap
-
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 16
diff --git a/keyboards/cmm_studio/saka68/hotswap/info.json b/keyboards/cmm_studio/saka68/hotswap/info.json
index 2e48427712..fecff0d0e9 100644
--- a/keyboards/cmm_studio/saka68/hotswap/info.json
+++ b/keyboards/cmm_studio/saka68/hotswap/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "CMM.Studio Saka68 Hotswap",
+ "keyboard_name": "Saka68 Hotswap",
+ "manufacturer": "CMM.Studio",
"url": "",
"maintainer": "CMMS-Freather",
+ "usb": {
+ "vid": "0x434D",
+ "pid": "0x5348",
+ "device_version": "0.0.1"
+ },
"layout_aliases": {
"LAYOUT": "LAYOUT_68_ansi"
},
diff --git a/keyboards/cmm_studio/saka68/solder/config.h b/keyboards/cmm_studio/saka68/solder/config.h
index 3dd09922cc..583f729962 100644
--- a/keyboards/cmm_studio/saka68/solder/config.h
+++ b/keyboards/cmm_studio/saka68/solder/config.h
@@ -18,13 +18,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x434D
-#define PRODUCT_ID 0x534B
-#define DEVICE_VER 0x0001
-#define MANUFACTURER CMM.Studio
-#define PRODUCT Saka68 Solder
-
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 17
diff --git a/keyboards/cmm_studio/saka68/solder/info.json b/keyboards/cmm_studio/saka68/solder/info.json
index 6856294471..c998dd5fa2 100644
--- a/keyboards/cmm_studio/saka68/solder/info.json
+++ b/keyboards/cmm_studio/saka68/solder/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "CMM.Studio Saka68 Solder",
+ "keyboard_name": "Saka68 Solder",
+ "manufacturer": "CMM.Studio",
"url": "",
"maintainer": "CMMS-Freather",
+ "usb": {
+ "vid": "0x434D",
+ "pid": "0x534B",
+ "device_version": "0.0.1"
+ },
"layout_aliases": {
"LAYOUT": "LAYOUT_68_ansi"
},