1
0
Fork 0

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

@ -19,10 +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 0x5052
#define MANUFACTURER PrimeKB
/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 13

View file

@ -1,7 +1,10 @@
{
"keyboard_name": "Prime_E",
"manufacturer": "PrimeKB",
"url": "https://www.primekb.com",
"maintainer": "holtenc",
"usb": {
"vid": "0x5052"
},
"layouts": {
"LAYOUT": {
"layout": [{"x":0,"y":0,"w":1,"h":1}, {"x":1,"y":0,"w":1,"h":1}, {"x":2,"y":0,"w":1,"h":1}, {"x":3,"y":0,"w":1,"h":1}, {"x":4,"y":0,"w":1,"h":1}, {"x":5,"y":0,"w":1,"h":1}, {"x":7,"y":0,"w":1,"h":1}, {"x":8,"y":0,"w":1,"h":1}, {"x":9,"y":0,"w":1,"h":1}, {"x":10,"y":0,"w":1,"h":1}, {"x":11,"y":0,"w":1,"h":1}, {"x":12,"y":0,"w":1,"h":1}, {"x":13,"y":0,"w":1,"h":1},

View file

@ -19,11 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
/* USB Device descriptor parameter */
#define PRODUCT_ID 0x0052
#define DEVICE_VER 0x0001
#define PRODUCT Prime_E RGB
#define RGB_DI_PIN B7
#define RGBLED_NUM 8
#define RGBLIGHT_ANIMATIONS

View file

@ -0,0 +1,7 @@
{
"keyboard_name": "Prime_E RGB",
"usb": {
"pid": "0x0052",
"device_version": "0.0.1"
}
}

View file

@ -19,10 +19,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
/* USB Device descriptor parameter */
#define PRODUCT_ID 0x0051
#define DEVICE_VER 0x0001
#define PRODUCT Prime_E
#define BACKLIGHT_PIN B7
#define BACKLIGHT_LEVELS 5

View file

@ -0,0 +1,7 @@
{
"keyboard_name": "Prime_E",
"usb": {
"pid": "0x0051",
"device_version": "0.0.1"
}
}