Move keyboard USB IDs and strings to data driven: P (#17875)

This commit is contained in:
Ryan
2022-08-03 17:23:15 +10:00
committed by GitHub
parent 3da6575e24
commit b6757d2380
184 changed files with 581 additions and 680 deletions

View File

@@ -20,13 +20,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 // "PR"
#define PRODUCT_ID 0x504D // "PM"
#define DEVICE_VER 0x0001
#define MANUFACTURER PrimeKB
#define PRODUCT Prime_M
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 6

View File

@@ -1,8 +1,13 @@
{
"keyboard_name": "Prime_M",
"manufacturer": "PrimeKB",
"url": "https://www.primekb.com",
"maintainer": "MxBlu",
"usb": {
"vid": "0x5052",
"pid": "0x504D",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT_ortho_5x6": {
"layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":4, "y":1}, {"x":5, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":3, "y":2}, {"x":4, "y":2}, {"x":5, "y":2}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3}, {"x":4, "y":3}, {"x":5, "y":3}, {"x":0, "y":4}, {"x":1, "y":4}, {"x":2, "y":4}, {"x":3, "y":4}, {"x":4, "y":4}, {"x":5, "y":4}]