Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move keyboard USB IDs and strings to data driven: 0-9 #16481

Merged
merged 1 commit into from
Mar 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions keyboards/0xc7/61key/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 0xE117
#define PRODUCT_ID 0x6161
#define DEVICE_VER 0x0001
#define MANUFACTURER 0xC7
#define PRODUCT 61Key

/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 14
Expand Down Expand Up @@ -149,4 +142,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

/* Bootmagic Lite key configuration */
//#define BOOTMAGIC_LITE_ROW 0
//#define BOOTMAGIC_LITE_COLUMN 0
//#define BOOTMAGIC_LITE_COLUMN 0
6 changes: 6 additions & 0 deletions keyboards/0xc7/61key/info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"keyboard_name": "61Key",
"manufacturer": "0xC7",
"url": "",
"maintainer": "RealEmanGaming",
"usb": {
"vid": "0xE117",
"pid": "0x6161",
"device_version": "0.0.1"
},
"layout_aliases": {
"LAYOUT": "LAYOUT_60_ansi"
},
Expand Down
7 changes: 0 additions & 7 deletions keyboards/0xcb/1337/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"
// clang-format off

/* USB Device descriptor parameter */
#define VENDOR_ID 0xCB00
#define PRODUCT_ID 0x1337
#define DEVICE_VER 0x0001
#define MANUFACTURER 0xCB
#define PRODUCT 1337

/* key matrix size */
#define MATRIX_ROWS 3
#define MATRIX_COLS 3
Expand Down
8 changes: 7 additions & 1 deletion keyboards/0xcb/1337/info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"keyboard_name": "0xCB 1337",
"keyboard_name": "1337",
"manufacturer": "0xCB",
"url": "https://0xCB.dev",
"maintainer": "Conor-Burns",
"usb": {
"vid": "0xCB00",
"pid": "0x1337",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT": {
"layout": [
Expand Down
6 changes: 0 additions & 6 deletions keyboards/0xcb/static/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#include "config_common.h"
// clang-format off
/* USB Device descriptor parameter */
#define VENDOR_ID 0xCB00
#define PRODUCT_ID 0xA455
#define DEVICE_VER 0x0001
#define MANUFACTURER 0xCB
#define PRODUCT Static

/* key matrix size */
#define MATRIX_ROWS 8
Expand Down
8 changes: 7 additions & 1 deletion keyboards/0xcb/static/info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"keyboard_name": "0xCB Static",
"keyboard_name": "Static",
"manufacturer": "0xCB",
"url": "https://0xCB.dev",
"maintainer": "Conor-Burns",
"usb": {
"vid": "0xCB00",
"pid": "0xA455",
"device_version": "0.0.1"
},
"layout_aliases": {
"LAYOUT": "LAYOUT_all"
},
Expand Down
5 changes: 0 additions & 5 deletions keyboards/10bleoledhub/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.*/
#pragma once

#include "config_common.h"
#define VENDOR_ID 0x7C88 // "hw" = haierwangwei2005
#define PRODUCT_ID 0x7C99 // "10b" = 10bleoledhub
#define DEVICE_VER 0x0001
#define MANUFACTURER haierwangwei2005
#define PRODUCT 10bleoledhub

/* key matrix size */
#define MATRIX_ROWS 4
Expand Down
6 changes: 6 additions & 0 deletions keyboards/10bleoledhub/info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"keyboard_name": "10bleoledhub",
"manufacturer": "haierwangwei2005",
"url": "https://github.com/haierwangwei2005/10BLE-OLED-HUB",
"maintainer": "haierwangwei2005",
"usb": {
"vid": "0x7C88",
"pid": "0x7C99",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT": {
"layout": [
Expand Down
7 changes: 0 additions & 7 deletions keyboards/1upkeyboards/1up60hse/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 0x6F75 // OU
#define PRODUCT_ID 0x6873
#define DEVICE_VER 0x0001
#define MANUFACTURER 1upkeyboards
#define PRODUCT 1up60hse

/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 14
Expand Down
6 changes: 6 additions & 0 deletions keyboards/1upkeyboards/1up60hse/info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"keyboard_name": "1up60hse",
"manufacturer": "1upkeyboards",
"url": "",
"maintainer": "qmk",
"usb": {
"vid": "0x6F75",
"pid": "0x6873",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT_60_ansi": {
"layout": [{"label":"~", "x":0, "y":0}, {"label":"!", "x":1, "y":0}, {"label":"@", "x":2, "y":0}, {"label":"#", "x":3, "y":0}, {"label":"$", "x":4, "y":0}, {"label":"%", "x":5, "y":0}, {"label":"^", "x":6, "y":0}, {"label":"&", "x":7, "y":0}, {"label":"*", "x":8, "y":0}, {"label":"(", "x":9, "y":0}, {"label":")", "x":10, "y":0}, {"label":"_", "x":11, "y":0}, {"label":"+", "x":12, "y":0}, {"label":"Backspace", "x":13, "y":0, "w":2}, {"label":"Tab", "x":0, "y":1, "w":1.5}, {"label":"Q", "x":1.5, "y":1}, {"label":"W", "x":2.5, "y":1}, {"label":"E", "x":3.5, "y":1}, {"label":"R", "x":4.5, "y":1}, {"label":"T", "x":5.5, "y":1}, {"label":"Y", "x":6.5, "y":1}, {"label":"U", "x":7.5, "y":1}, {"label":"I", "x":8.5, "y":1}, {"label":"O", "x":9.5, "y":1}, {"label":"P", "x":10.5, "y":1}, {"label":"{", "x":11.5, "y":1}, {"label":"}", "x":12.5, "y":1}, {"label":"|", "x":13.5, "y":1, "w":1.5}, {"label":"Caps Lock", "x":0, "y":2, "w":1.75}, {"label":"A", "x":1.75, "y":2}, {"label":"S", "x":2.75, "y":2}, {"label":"D", "x":3.75, "y":2}, {"label":"F", "x":4.75, "y":2}, {"label":"G", "x":5.75, "y":2}, {"label":"H", "x":6.75, "y":2}, {"label":"J", "x":7.75, "y":2}, {"label":"K", "x":8.75, "y":2}, {"label":"L", "x":9.75, "y":2}, {"label":":", "x":10.75, "y":2}, {"label":"\"", "x":11.75, "y":2}, {"label":"Enter", "x":12.75, "y":2, "w":2.25}, {"label":"Shift", "x":0, "y":3, "w":2.25}, {"label":"Z", "x":2.25, "y":3}, {"label":"X", "x":3.25, "y":3}, {"label":"C", "x":4.25, "y":3}, {"label":"V", "x":5.25, "y":3}, {"label":"B", "x":6.25, "y":3}, {"label":"N", "x":7.25, "y":3}, {"label":"M", "x":8.25, "y":3}, {"label":"<", "x":9.25, "y":3}, {"label":">", "x":10.25, "y":3}, {"label":"?", "x":11.25, "y":3}, {"label":"Shift", "x":12.25, "y":3, "w":2.75}, {"label":"Ctrl", "x":0, "y":4, "w":1.25}, {"label":"Win", "x":1.25, "y":4, "w":1.25}, {"label":"Alt", "x":2.5, "y":4, "w":1.25}, {"x":3.75, "y":4, "w":6.25}, {"label":"Alt", "x":10, "y":4, "w":1.25}, {"label":"Win", "x":11.25, "y":4, "w":1.25}, {"label":"Menu", "x":12.5, "y":4, "w":1.25}, {"label":"Ctrl", "x":13.75, "y":4, "w":1.25}]
Expand Down
7 changes: 0 additions & 7 deletions keyboards/1upkeyboards/1up60hte/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 0x6F75 // OU
#define PRODUCT_ID 0x6874 // HT
#define DEVICE_VER 0x0001
#define MANUFACTURER 1upkeyboards
#define PRODUCT 1up60hte

/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 14
Expand Down
6 changes: 6 additions & 0 deletions keyboards/1upkeyboards/1up60hte/info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"keyboard_name": "1up60hte",
"manufacturer": "1upkeyboards",
"url": "https://www.1upkeyboards.com/shop/controllers/1up-rgb-60-pcb-hte/",
"maintainer": "1upkeyboards",
"usb": {
"vid": "0x6F75",
"pid": "0x6874",
"device_version": "0.0.1"
},
"layout_aliases": {
"LAYOUT_tsangan": "LAYOUT_60_tsangan_hhkb"
},
Expand Down
7 changes: 0 additions & 7 deletions keyboards/1upkeyboards/1up60rgb/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 0x6F75 // OU
#define PRODUCT_ID 0x7267 // RG
#define DEVICE_VER 0x0001
#define MANUFACTURER 1upkeyboards
#define PRODUCT 1UP RGB Underglow PCB

/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 15
Expand Down
8 changes: 7 additions & 1 deletion keyboards/1upkeyboards/1up60rgb/info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"keyboard_name": "1up60rgb",
"keyboard_name": "1UP RGB Underglow PCB",
"manufacturer": "1upkeyboards",
"url": "",
"maintainer": "qmk",
"usb": {
"vid": "0x6F75",
"pid": "0x7267",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT_all": {
"layout": [
Expand Down
7 changes: 0 additions & 7 deletions keyboards/1upkeyboards/super16/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 0x6F75 // "ou"
#define PRODUCT_ID 0x5516 // "U" 16
#define DEVICE_VER 0x0001
#define MANUFACTURER 1upkeyboards
#define PRODUCT super16

/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 4
Expand Down
6 changes: 6 additions & 0 deletions keyboards/1upkeyboards/super16/info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"keyboard_name": "super16",
"manufacturer": "1upkeyboards",
"url": "",
"maintainer": "qmk",
"usb": {
"vid": "0x6F75",
"pid": "0x5516",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT_ortho_4x4": {
"layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":3, "y":2}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3}]
Expand Down
7 changes: 0 additions & 7 deletions keyboards/1upkeyboards/super16v2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,6 @@

#include "config_common.h"

/* USB Device descriptor parameter */
#define VENDOR_ID 0x6F75 // OU
#define PRODUCT_ID 0x5517
#define DEVICE_VER 0x0001
#define MANUFACTURER 1upkeyboards
#define PRODUCT super16v2

/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 4
Expand Down
8 changes: 7 additions & 1 deletion keyboards/1upkeyboards/super16v2/info.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
{
"keyboard_name": "super16v2",
"manufacturer": "1upkeyboards",
"url": "",
"maintainer": "qmk",
"usb": {
"vid": "0x6F75",
"pid": "0x5517",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT_ortho_4x4": {
"layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":3, "y":2}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3}]
}
}
}
}
8 changes: 0 additions & 8 deletions keyboards/25keys/cassette42/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +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 0xCA42
#define DEVICE_VER 0x0001
#define MANUFACTURER monksoffunk
#define PRODUCT cassette42

/* key matrix size */
#define MATRIX_ROWS 1
#define MATRIX_COLS 6
Expand Down
12 changes: 9 additions & 3 deletions keyboards/25keys/cassette42/info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"keyboard_name": "cassette42",
"url": "http://www.sho-k.co.uk/tech/1246.html",
"maintainer": "monksoffunk",
"keyboard_name": "cassette42",
"manufacturer": "monksoffunk",
"url": "http://www.sho-k.co.uk/tech/1246.html",
"maintainer": "monksoffunk",
"usb": {
"vid": "0xFEED",
"pid": "0xCA42",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT": {
"layout": [{"x":0.5, "y":0.75}, {"x":2.5, "y":0.75}, {"x":0, "y":1.75}, {"x":1, "y":1.75}, {"x":2, "y":1.75}, {"x":3, "y":1.75}]
Expand Down
7 changes: 0 additions & 7 deletions keyboards/2key2crawl/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 0x6090
#define DEVICE_VER 0x0002
#define MANUFACTURER WoodKeys.click
#define PRODUCT 2Key2Crawl

/* key matrix size */
#define MATRIX_ROWS 2
#define MATRIX_COLS 7
Expand Down
8 changes: 7 additions & 1 deletion keyboards/2key2crawl/info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"keyboard_name": "2Key2CrawlPad",
"keyboard_name": "2Key2Crawl",
"manufacturer": "WoodKeys.click",
"url": "",
"maintainer": "qmk",
"usb": {
"vid": "0xFEED",
"pid": "0x6090",
"device_version": "0.0.2"
},
"layouts": {
"LAYOUT": {
"layout": [
Expand Down
7 changes: 0 additions & 7 deletions keyboards/30wer/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 0x1234
#define PRODUCT_ID 0x5678
#define DEVICE_VER 0x0000
#define MANUFACTURER 8o7wer
#define PRODUCT 30wer

/* key matrix size */
#define MATRIX_ROWS 3
#define MATRIX_COLS 13
Expand Down
12 changes: 9 additions & 3 deletions keyboards/30wer/info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"keyboard_name": "30wer",
"url": "",
"maintainer": "qmk",
"keyboard_name": "30wer",
"manufacturer": "8o7wer",
"url": "",
"maintainer": "qmk",
"usb": {
"vid": "0x1234",
"pid": "0x5678",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT": {
"layout": [
Expand Down
7 changes: 0 additions & 7 deletions keyboards/3keyecosystem/2key2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#include "config_common.h"

/* USB Device descriptor parameter */
#define VENDOR_ID 0x1209
#define PRODUCT_ID 0x3304
#define DEVICE_VER 0x0001
#define MANUFACTURER 3-Key-Ecosystem
#define PRODUCT 2key2

/* key matrix size */
#define MATRIX_ROWS 1
#define MATRIX_COLS 2
Expand Down
8 changes: 7 additions & 1 deletion keyboards/3keyecosystem/2key2/info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"keyboard_name": "3-Key-Ecosystem 2key2: 2x1 macro-keyboard",
"keyboard_name": "2key2",
"manufacturer": "3-Key-Ecosystem",
"url": "https://github.com/softplus/3keyecosystem/tree/main/2key2",
"maintainer": "softplus",
"usb": {
"vid": "0x1209",
"pid": "0x3304",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT": {
"layout": [
Expand Down
7 changes: 0 additions & 7 deletions keyboards/40percentclub/25/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,6 @@

#include "config_common.h"

/* USB Device descriptor parameter */
#define VENDOR_ID 0x4025 // 40%
#define PRODUCT_ID 0x0F25
#define DEVICE_VER 0x0100
#define MANUFACTURER di0ib
#define PRODUCT The 5x5 Keyboard

#define USE_SERIAL
/* serial.c configuration for split keyboard */
#define SOFT_SERIAL_PIN D0
Expand Down
Loading