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

@@ -15,13 +15,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
/* USB Device descriptor parameter */
#define VENDOR_ID 0x4342 // CB
#define PRODUCT_ID 0x8787
#define DEVICE_VER 0x0001
#define MANUFACTURER CherryB Studio
#define PRODUCT CB87
/* key matrix size */
#define MATRIX_ROWS 9
#define MATRIX_COLS 10

View File

@@ -1,7 +1,13 @@
{
"keyboard_name": "CB87",
"manufacturer": "CherryB Studio",
"url": "https://discord.gg/qVwv3gcq83",
"maintainer": "duongaanh",
"usb": {
"vid": "0x4342",
"pid": "0x8787",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT_all": {
"layout": [