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
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"
}
}

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 VENDOR_ID 0x03A8
#define MANUFACTURER OLKB
#define PRODUCT Planck
/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 12

View File

@ -0,0 +1,6 @@
{
"keyboard_name": "Planck EZ",
"usb": {
"pid": "0xC6CE"
}
}

View File

View File

@ -18,17 +18,6 @@
#pragma once
#undef VENDOR_ID
#define VENDOR_ID 0x3297
#undef PRODUCT_ID
#define PRODUCT_ID 0xC6CE
#undef MANUFACTURER
#define MANUFACTURER ZSA Technology Labs
#undef PRODUCT
#define PRODUCT Planck EZ
/* USB Device descriptor parameter */
#define DEVICE_VER 0x0000
#undef MATRIX_ROWS
#undef MATRIX_COLS
/* key matrix size */

View File

@ -1,25 +0,0 @@
/* Copyright 2018 Jack Humbert <jack.humb@gmail.com>
* Copyright 2015 ZSA Technology Labs Inc (@zsa)
* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#undef PRODUCT_ID
#define PRODUCT_ID 0xC6CF
#undef PRODUCT
#define PRODUCT Planck EZ Glow

View File

@ -0,0 +1,6 @@
{
"keyboard_name": "Planck EZ Glow",
"usb": {
"pid": "0xC6CF"
}
}

View File

@ -1,7 +1,11 @@
{
"keyboard_name": "Planck EZ",
"manufacturer": "ZSA Technology Labs",
"url": "https://ergodox-ez.com/pages/planck",
"maintainer": "jackhumbert",
"usb": {
"vid": "0x3297",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT_planck_1x2uC": {
"layout": [

View File

@ -29,3 +29,5 @@ RGBLIGHT_SUPPORTED = no
BAKCLIGHT_SUPPORTED = no
MOUSE_SHARED_EP = no
DEFAULT_FOLDER = planck/ez/base

View File

@ -1,5 +1,4 @@
{
"keyboard_name": "Planck",
"url": "https://olkb.com/planck",
"maintainer": "jackhumbert",
"layouts": {

View File

@ -2,11 +2,6 @@
#include "config_common.h"
#undef PRODUCT
#define PRODUCT Planck Light
#define PRODUCT_ID 0xBEA2
#define DEVICE_VER 0x0001
#undef MATRIX_ROW_PINS
#undef MATRIX_COL_PINS

View File

@ -1,7 +1,13 @@
{
"keyboard_name": "Planck Light",
"manufacturer": "OLKB",
"url": "https://olkb.com/planck",
"maintainer": "jackhumbert",
"usb": {
"vid": "0x03A8",
"pid": "0xBEA2",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT_planck_1x2uC": {
"layout": [

View File

@ -1,4 +0,0 @@
#pragma once
#define PRODUCT_ID 0xAE01
#define DEVICE_VER 0x0001

View File

@ -1,7 +1,13 @@
{
"keyboard_name": "Planck rev 1",
"keyboard_name": "Planck",
"manufacturer": "OLKB",
"url": "https://olkb.com/planck",
"maintainer": "jackhumbert",
"usb": {
"vid": "0x03A8",
"pid": "0xAE01",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT_planck_1x2uC": {
"layout": [

View File

@ -1,4 +0,0 @@
#pragma once
#define PRODUCT_ID 0xAE01
#define DEVICE_VER 0x0002

View File

@ -1,7 +1,13 @@
{
"keyboard_name": "Planck rev 2",
"keyboard_name": "Planck",
"manufacturer": "OLKB",
"url": "https://olkb.com/planck",
"maintainer": "jackhumbert",
"usb": {
"vid": "0x03A8",
"pid": "0xAE01",
"device_version": "0.0.2"
},
"layouts": {
"LAYOUT_planck_1x2uC": {
"layout": [

View File

@ -1,4 +0,0 @@
#pragma once
#define PRODUCT_ID 0xAE01
#define DEVICE_VER 0x0003

View File

@ -1,7 +1,13 @@
{
"keyboard_name": "Planck rev 3",
"keyboard_name": "Planck",
"manufacturer": "OLKB",
"url": "https://olkb.com/planck",
"maintainer": "jackhumbert",
"usb": {
"vid": "0x03A8",
"pid": "0xAE01",
"device_version": "0.0.3"
},
"layouts": {
"LAYOUT_planck_1x2uC": {
"layout": [

View File

@ -1,4 +0,0 @@
#pragma once
#define PRODUCT_ID 0xAE01
#define DEVICE_VER 0x0004

View File

@ -1,7 +1,13 @@
{
"keyboard_name": "Planck rev 4",
"keyboard_name": "Planck",
"manufacturer": "OLKB",
"url": "https://olkb.com/planck",
"maintainer": "jackhumbert",
"usb": {
"vid": "0x03A8",
"pid": "0xAE01",
"device_version": "0.0.4"
},
"layouts": {
"LAYOUT_planck_1x2uC": {
"layout": [

View File

@ -1,4 +0,0 @@
#pragma once
#define PRODUCT_ID 0xAE01
#define DEVICE_VER 0x0005

View File

@ -1,7 +1,13 @@
{
"keyboard_name": "Planck rev 5",
"keyboard_name": "Planck",
"manufacturer": "OLKB",
"url": "https://olkb.com/planck",
"maintainer": "jackhumbert",
"usb": {
"vid": "0x03A8",
"pid": "0xAE01",
"device_version": "0.0.5"
},
"layouts": {
"LAYOUT_planck_1x2uC": {
"layout": [

View File

@ -17,10 +17,6 @@
#pragma once
/* USB Device descriptor parameter */
#define PRODUCT_ID 0xA4F9
#define DEVICE_VER 0x0006
#undef MATRIX_ROWS
#undef MATRIX_COLS
/* key matrix size */

View File

@ -1,7 +1,13 @@
{
"keyboard_name": "Planck rev 6",
"keyboard_name": "Planck",
"manufacturer": "OLKB",
"url": "https://olkb.com/planck",
"maintainer": "jackhumbert",
"usb": {
"vid": "0x03A8",
"pid": "0xA4F9",
"device_version": "0.0.6"
},
"layouts": {
"LAYOUT_ortho_4x12": {
"layout": [

View File

@ -17,12 +17,6 @@
#pragma once
/* USB Device descriptor parameter */
#define PRODUCT_ID 0xA4F9
#define DEVICE_VER 0x0006
#undef MANUFACTURER
#define MANUFACTURER Drop
#undef MATRIX_ROWS
#undef MATRIX_COLS
/* key matrix size */

View File

@ -1,7 +1,13 @@
{
"keyboard_name": "Planck rev 6",
"keyboard_name": "Planck",
"manufacturer": "Drop",
"url": "https://olkb.com/planck",
"maintainer": "jackhumbert",
"usb": {
"vid": "0x03A8",
"pid": "0xA4F9",
"device_version": "0.0.6"
},
"layouts": {
"LAYOUT_ortho_4x12": {
"layout": [

Some files were not shown because too many files have changed in this diff Show More