Move keyboard USB IDs and strings to data driven, pass 2: P-R (#18091)

This commit is contained in:
Ryan 2022-08-20 10:42:49 +10:00 committed by GitHub
parent 835c971f78
commit 201a914beb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
98 changed files with 282 additions and 375 deletions

View file

@ -1,7 +1,11 @@
{
"keyboard_name": "P20",
"manufacturer": "Pabile",
"url": "",
"maintainer": "pabile",
"usb": {
"vid": "0x6666",
"pid": "0x6667"
},
"layouts": {
"LAYOUT_ortho_5x4": {
"layout": [

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 0x6666
#define PRODUCT_ID 0x6667
#define DEVICE_VER 0x0001
#define MANUFACTURER Pabile
#define PRODUCT P20 ver1
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 4

View file

@ -0,0 +1,6 @@
{
"keyboard_name": "P20 ver1",
"usb": {
"device_version": "0.0.1"
}
}

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 0x6666
#define PRODUCT_ID 0x6667
#define DEVICE_VER 0x0002
#define MANUFACTURER Pabile
#define PRODUCT P20 ver2
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 4

View file

@ -0,0 +1,6 @@
{
"keyboard_name": "P20 ver2",
"usb": {
"device_version": "0.0.2"
}
}