Move keyboard USB IDs and strings to data driven: C (#17789)

This commit is contained in:
Ryan
2022-07-26 09:04:09 +10:00
committed by GitHub
parent b6ac0ecf82
commit a939293aca
248 changed files with 783 additions and 905 deletions

View File

@@ -17,13 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
/* USB Device descriptor parameter */
#define VENDOR_ID 0xCA04
#define PRODUCT_ID 0xBA77
#define DEVICE_VER 0x0001
#define MANUFACTURER CannonKeys
#define PRODUCT Balance
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 20

View File

@@ -1,7 +1,13 @@
{
"keyboard_name": "Balance",
"manufacturer": "CannonKeys",
"url": "https://cannonkeys.com",
"maintainer": "awkannan",
"usb": {
"vid": "0xCA04",
"pid": "0xBA77",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT_all": {
"layout": [