summaryrefslogtreecommitdiff
path: root/keyboards/dtisaac/cg108
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-07-30 13:02:47 +1000
committerGitHub <noreply@github.com>2022-07-29 20:02:47 -0700
commit306e50b84cdf0aaac01838c4519209b642dee113 (patch)
tree386de8a2406202b1a0fecd51e6c932e77d5c4c62 /keyboards/dtisaac/cg108
parentd1096ad440e046fb44d3ba75c0049065b1dadb60 (diff)
Move keyboard USB IDs and strings to data driven: D (#17814)
Diffstat (limited to 'keyboards/dtisaac/cg108')
-rw-r--r--keyboards/dtisaac/cg108/config.h7
-rw-r--r--keyboards/dtisaac/cg108/info.json8
2 files changed, 6 insertions, 9 deletions
diff --git a/keyboards/dtisaac/cg108/config.h b/keyboards/dtisaac/cg108/config.h
index 7ce2de42b8..ec4dce5f54 100644
--- a/keyboards/dtisaac/cg108/config.h
+++ b/keyboards/dtisaac/cg108/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 0x4454 // DT
-#define PRODUCT_ID 0x4973 // Is
-#define DEVICE_VER 0x0002
-#define MANUFACTURER DTIsaac
-#define PRODUCT CG108
-
/* key matrix size */
#define MATRIX_ROWS 11
#define MATRIX_COLS 11
diff --git a/keyboards/dtisaac/cg108/info.json b/keyboards/dtisaac/cg108/info.json
index 0ecc1764f6..eb6189088c 100644
--- a/keyboards/dtisaac/cg108/info.json
+++ b/keyboards/dtisaac/cg108/info.json
@@ -1,9 +1,13 @@
{
"keyboard_name": "CG108",
+ "manufacturer": "DTIsaac",
"url": "",
"maintainer": "daotakisaac",
- "width": 22.5,
- "height": 6.5,
+ "usb": {
+ "vid": "0x4454",
+ "pid": "0x4973",
+ "device_version": "0.0.2"
+ },
"layouts": {
"LAYOUT": {
"layout": [