Move keyboard USB IDs and strings to data driven: D (#17814)

This commit is contained in:
Ryan
2022-07-30 13:02:47 +10:00
committed by GitHub
parent d1096ad440
commit 306e50b84c
130 changed files with 392 additions and 460 deletions

View File

@@ -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

View File

@@ -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": [