Skip to content

Commit

Permalink
Move keyboard USB IDs and strings to data driven: P (qmk#17875)
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark authored Aug 3, 2022
1 parent 3da6575 commit b6757d2
Show file tree
Hide file tree
Showing 184 changed files with 581 additions and 680 deletions.
6 changes: 0 additions & 6 deletions keyboards/p3d/glitch/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#include "config_common.h"

#define VENDOR_ID 0x7033
#define PRODUCT_ID 0x3568
#define DEVICE_VER 0x0001
#define MANUFACTURER P3D Store
#define PRODUCT Glitch

/* key matrix size */
#define MATRIX_ROWS 10
#define MATRIX_COLS 8
Expand Down
6 changes: 6 additions & 0 deletions keyboards/p3d/glitch/info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"keyboard_name": "Glitch",
"manufacturer": "P3D Store",
"url": "https://p3dstore.com/products/p3d-glitch-group-buy",
"maintainer": "matthewdias",
"usb": {
"vid": "0x7033",
"pid": "0x3568",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT_all": {
"layout": [{
Expand Down
7 changes: 0 additions & 7 deletions keyboards/pabile/p18/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 0x6666
#define PRODUCT_ID 0x6668
#define DEVICE_VER 0x0001
#define MANUFACTURER Pabile
#define PRODUCT P18 Macro Pad

/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 5
Expand Down
8 changes: 7 additions & 1 deletion keyboards/pabile/p18/info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"keyboard_name": "Pabile 18",
"keyboard_name": "P18 Macro Pad",
"manufacturer": "Pabile",
"url": "https://pabileonline.blogspot.com/",
"maintainer": "Pabile",
"usb": {
"vid": "0x6666",
"pid": "0x6668",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT": {
"layout": [
Expand Down
7 changes: 0 additions & 7 deletions keyboards/pabile/p40/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 0x6666
#define DEVICE_VER 0x0001
#define MANUFACTURER Pabile
#define PRODUCT P40 Keyboard

/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 10
Expand Down
8 changes: 7 additions & 1 deletion keyboards/pabile/p40/info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"keyboard_name": "Pabile 40",
"keyboard_name": "P40",
"manufacturer": "Pabile",
"url": "https://pabileonline.blogspot.com/",
"maintainer": "Pabile",
"usb": {
"vid": "0x6666",
"pid": "0x6666",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT_ortho_4x10": {
"layout": [
Expand Down
7 changes: 0 additions & 7 deletions keyboards/pabile/p40_ortho/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 0x6669
#define DEVICE_VER 0x0001
#define MANUFACTURER Pabile
#define PRODUCT P40 Ortho Keyboard

/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 10
Expand Down
7 changes: 7 additions & 0 deletions keyboards/pabile/p40_ortho/info.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
{
"keyboard_name": "P40 Ortho",
"manufacturer": "Pabile",
"maintainer": "qmk",
"usb": {
"vid": "0x6666",
"pid": "0x6669",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT_ortho_4x10": {
"layout": [
Expand Down
7 changes: 0 additions & 7 deletions keyboards/pabile/p42/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 0x6670
#define DEVICE_VER 0x0001
#define MANUFACTURER Pabile
#define PRODUCT P42 Keyboard

/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 11
Expand Down
6 changes: 6 additions & 0 deletions keyboards/pabile/p42/info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"keyboard_name": "P42",
"manufacturer": "Pabile",
"url": "https://pabileonline.blogspot.com/",
"maintainer": "Pabile",
"usb": {
"vid": "0x6666",
"pid": "0x6670",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT": {
"layout": [
Expand Down
7 changes: 0 additions & 7 deletions keyboards/palette1202/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 0xFEED
#define PRODUCT_ID 0x1202
#define DEVICE_VER 0x0001
#define MANUFACTURER niltea
#define PRODUCT Palette1202

/* key matrix size */
#define MATRIX_ROWS 3
#define MATRIX_COLS 5
Expand Down
6 changes: 6 additions & 0 deletions keyboards/palette1202/info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"keyboard_name": "Palette1202",
"manufacturer": "niltea",
"url": "https://github.com/niltea/Palette1202",
"maintainer": "niltea",
"usb": {
"vid": "0xFEED",
"pid": "0x1202",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT": {
"layout": [
Expand Down
7 changes: 0 additions & 7 deletions keyboards/panc40/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@

#include "config_common.h"

/* USB Device descriptor parameter */
#define VENDOR_ID 0xFEED
#define PRODUCT_ID 0x6060
#define DEVICE_VER 0x0001
#define MANUFACTURER Panc Interactive
#define PRODUCT Panc40

/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 12
Expand Down
6 changes: 6 additions & 0 deletions keyboards/panc40/info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"keyboard_name": "Panc40",
"manufacturer": "Panc Interactive",
"url": "",
"maintainer": "qmk",
"usb": {
"vid": "0xFEED",
"pid": "0x6060",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT_all": {
"layout": [
Expand Down
6 changes: 0 additions & 6 deletions keyboards/panc60/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#include "config_common.h"

#define VENDOR_ID 0x20A0
#define PRODUCT_ID 0x422D
#define DEVICE_VER 0x0200
#define MANUFACTURER Panc Interactive
#define PRODUCT Panc60

#define RGBLED_NUM 12

#define MATRIX_ROWS 5
Expand Down
8 changes: 7 additions & 1 deletion keyboards/panc60/info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"keyboard_name": "panc60",
"keyboard_name": "Panc60",
"manufacturer": "Panc Interactive",
"url": "",
"maintainer": "qmk",
"usb": {
"vid": "0x20A0",
"pid": "0x422D",
"device_version": "2.0.0"
},
"layouts": {
"LAYOUT_all": {
"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":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":12, "y":0}, {"x":13, "y":0}, {"x":14, "y":0}, {"x":0, "y":1, "w":1.5}, {"x":1.5, "y":1}, {"x":2.5, "y":1}, {"x":3.5, "y":1}, {"x":4.5, "y":1}, {"x":5.5, "y":1}, {"x":6.5, "y":1}, {"x":7.5, "y":1}, {"x":8.5, "y":1}, {"x":9.5, "y":1}, {"x":10.5, "y":1}, {"x":11.5, "y":1}, {"x":12.5, "y":1}, {"x":13.5, "y":1, "w":1.5}, {"x":0, "y":2, "w":1.75}, {"x":1.75, "y":2}, {"x":2.75, "y":2}, {"x":3.75, "y":2}, {"x":4.75, "y":2}, {"x":5.75, "y":2}, {"x":6.75, "y":2}, {"x":7.75, "y":2}, {"x":8.75, "y":2}, {"x":9.75, "y":2}, {"x":10.75, "y":2}, {"x":11.75, "y":2}, {"x":12.75, "y":2, "w":2.25}, {"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":6, "y":3}, {"x":7, "y":3}, {"x":8, "y":3}, {"x":9, "y":3}, {"x":10, "y":3}, {"x":11, "y":3}, {"x":12, "y":3}, {"x":13, "y":3}, {"x":14, "y":3}, {"x":0, "y":4, "w":1.25}, {"x":1.25, "y":4, "w":1.25}, {"x":2.5, "y":4, "w":1.25}, {"x":3.75, "y":4, "w":6.25}, {"x":10, "y":4}, {"x":11, "y":4}, {"x":12, "y":4}, {"x":13, "y":4}, {"x":14, "y":4}]
Expand Down
7 changes: 0 additions & 7 deletions keyboards/papercranekeyboards/gerald65/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,6 @@

#include "config_common.h"

/* USB Device descriptor parameter */
#define VENDOR_ID 0x5012 //
#define PRODUCT_ID 0x1501 // '21 keyboard 1
#define DEVICE_VER 0x0001
#define MANUFACTURER PaperCraneKeyboards
#define PRODUCT gerald65

/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 15
Expand Down
6 changes: 6 additions & 0 deletions keyboards/papercranekeyboards/gerald65/info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"keyboard_name": "gerald65",
"manufacturer": "PaperCraneKeyboards",
"url": "",
"maintainer": "PaperCraneKeyboards",
"usb": {
"vid": "0x5012",
"pid": "0x1501",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT": {
"layout": [
Expand Down
7 changes: 0 additions & 7 deletions keyboards/paprikman/albacore/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 0x736D
#define PRODUCT_ID 0x000A
#define DEVICE_VER 0x0001
#define MANUFACTURER paprikman
#define PRODUCT Albacore

/* key matrix size */
#define MATRIX_ROWS 2
#define MATRIX_COLS 4
Expand Down
6 changes: 6 additions & 0 deletions keyboards/paprikman/albacore/info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"keyboard_name": "Albacore",
"manufacturer": "paprikman",
"url": "https://github.com/paprikman/qmk_firmware/tree/master/keyboards/paprikman/albacore",
"maintainer": "paprikman",
"usb": {
"vid": "0x736D",
"pid": "0x000A",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT": {
"layout": [
Expand Down
7 changes: 0 additions & 7 deletions keyboards/parallel/parallel_65/hotswap/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 0x504C
#define PRODUCT_ID 0x5069
#define DEVICE_VER 0x0001
#define MANUFACTURER Parallel Limited
#define PRODUCT Parallel 65% Hotswap PCB

/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 16
Expand Down
6 changes: 6 additions & 0 deletions keyboards/parallel/parallel_65/hotswap/info.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"keyboard_name": "Parallel 65% Hotswap PCB",
"manufacturer": "Parallel Limited",
"maintainer": "matthewdias",
"usb": {
"vid": "0x504C",
"pid": "0x5069",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT_65_ansi_blocker": {
"layout": [
Expand Down
7 changes: 0 additions & 7 deletions keyboards/parallel/parallel_65/soldered/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 0x504C
#define PRODUCT_ID 0x5068
#define DEVICE_VER 0x0001
#define MANUFACTURER Parallel Limited
#define PRODUCT Parallel 65% PCB

/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 16
Expand Down
6 changes: 6 additions & 0 deletions keyboards/parallel/parallel_65/soldered/info.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"keyboard_name": "Parallel 65% PCB",
"manufacturer": "Parallel Limited",
"maintainer": "matthewdias",
"usb": {
"vid": "0x504C",
"pid": "0x5068",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT_65_ansi_blocker_split_bs": {
"layout": [
Expand Down
7 changes: 0 additions & 7 deletions keyboards/pdxkbc/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 0x5044 // PD
#define PRODUCT_ID 0x0001
#define DEVICE_VER 0x0001
#define MANUFACTURER Franklin Harding
#define PRODUCT pdxkbc

/* key matrix size */
#define MATRIX_ROWS 3
#define MATRIX_COLS 2
Expand Down
6 changes: 6 additions & 0 deletions keyboards/pdxkbc/info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"keyboard_name": "pdxkbc",
"manufacturer": "Franklin Harding",
"url": "",
"maintainer": "qmk",
"usb": {
"vid": "0x5044",
"pid": "0x0001",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT": {
"layout": [{"label":"reddit", "x":0, "y":0}, {"label":"discord", "x":1, "y":0}, {"label":"badge", "x":0, "y":1}, {"label":"hack", "x":1, "y":1}, {"label":"volu", "x":0, "y":2}, {"label":"vold", "x":1, "y":2}]
Expand Down
6 changes: 0 additions & 6 deletions keyboards/pearl/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#include "config_common.h"

#define VENDOR_ID 0xFEED
#define PRODUCT_ID 0x0348
#define DEVICE_VER 0x0200
#define MANUFACTURER Pearl Boards
#define PRODUCT Pearl

#define LED_NUM_LOCK_PIN D0
#define LED_CAPS_LOCK_PIN D1
#define LED_SCROLL_LOCK_PIN D6
Expand Down
6 changes: 6 additions & 0 deletions keyboards/pearl/info.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"keyboard_name": "Pearl",
"manufacturer": "Pearl Boards",
"maintainer": "qmk",
"usb": {
"vid": "0xFEED",
"pid": "0x0348",
"device_version": "2.0.0"
},
"layouts": {
"LAYOUT_all": {
"layout": [{"label":"Esc", "x":0, "y":0}, {"label":"Q", "x":1, "y":0}, {"label":"W", "x":2, "y":0}, {"label":"E", "x":3, "y":0}, {"label":"R", "x":4, "y":0}, {"label":"T", "x":5, "y":0}, {"label":"Y", "x":6, "y":0}, {"label":"U", "x":7, "y":0}, {"label":"I", "x":8, "y":0}, {"label":"O", "x":9, "y":0}, {"label":"P", "x":10, "y":0}, {"label":"{", "x":11, "y":0}, {"label":"Backspace", "x":12, "y":0}, {"label":"Tab", "x":0, "y":1, "w":1.5}, {"label":"A", "x":1.5, "y":1}, {"label":"S", "x":2.5, "y":1}, {"label":"D", "x":3.5, "y":1}, {"label":"F", "x":4.5, "y":1}, {"label":"G", "x":5.5, "y":1}, {"label":"H", "x":6.5, "y":1}, {"label":"J", "x":7.5, "y":1}, {"label":"K", "x":8.5, "y":1}, {"label":"L", "x":9.5, "y":1}, {"label":":", "x":10.5, "y":1}, {"label":"\\", "x":11.5, "y":1, "w":1.5}, {"label":"Caps Lock", "x":0, "y":2, "w":1.75}, {"label":"Z", "x":1.75, "y":2}, {"label":"X", "x":2.75, "y":2}, {"label":"C", "x":3.75, "y":2}, {"label":"V", "x":4.75, "y":2}, {"label":"B", "x":5.75, "y":2}, {"label":"N", "x":6.75, "y":2}, {"label":"M", "x":7.75, "y":2}, {"label":"<", "x":8.75, "y":2}, {"label":">", "x":9.75, "y":2}, {"label":"?", "x":10.75, "y":2}, {"label":"Shift", "x":11.75, "y":2, "w":1.25}, {"label":"Alt", "x":1.13, "y":3}, {"label":"Ctrl", "x":2.13, "y":3, "w":1.25}, {"label":"Win", "x":3.375, "y":3, "w":1.25}, {"label":"Shift", "x":4.625, "y":3, "w":2.25}, {"x":6.875, "y":3, "w":1.25}, {"x":8.125, "y":3, "w":1.5}, {"label":"Menu", "x":9.625, "y":3}, {"label":"Fn", "x":10.63, "y":3, "w":1.25}]
Expand Down
Loading

0 comments on commit b6757d2

Please sign in to comment.