Move keyboard USB IDs and strings to data driven: T (#17899)

This commit is contained in:
Ryan
2022-08-04 11:35:08 +10:00
committed by GitHub
parent 5a631ed9ac
commit 17176daf26
146 changed files with 471 additions and 562 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 0xFEED
#define PRODUCT_ID 0x0000
#define DEVICE_VER 0x0001
#define MANUFACTURER Treasure
#define PRODUCT Type 9
/* key matrix size */
#define MATRIX_ROWS 3
#define MATRIX_COLS 3

View File

@@ -1,7 +1,13 @@
{
"keyboard_name": "Type-9",
"manufacturer": "Treasure",
"url": "",
"maintainer": "qmk",
"usb": {
"vid": "0xFEED",
"pid": "0x0000",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT": {
"layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}]

View File

@@ -18,13 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
/* USB Device descriptor parameter */
#define VENDOR_ID 0x5452
#define PRODUCT_ID 0x5492
#define DEVICE_VER 0x0001
#define MANUFACTURER TREASURE
#define PRODUCT TYPE-9 Series II
/* key matrix size */
#define MATRIX_ROWS 3
#define MATRIX_COLS 3

View File

@@ -1,7 +1,13 @@
{
"keyboard_name": "Treasure TYPE-9 Series II",
"keyboard_name": "Type-9 Series II",
"manufacturer": "Treasure",
"url": "http://treasuretypes.com",
"maintainer": "Treasure",
"usb": {
"vid": "0x5452",
"pid": "0x5492",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT_ortho_3x3": {
"layout": [