Skip to content

Commit

Permalink
Move keyboard USB IDs and strings to data driven, pass 2: B-C (qmk#17945
Browse files Browse the repository at this point in the history
)
  • Loading branch information
fauxpark authored and nolanseaton committed Jan 23, 2023
1 parent 5325cbf commit 205197b
Show file tree
Hide file tree
Showing 125 changed files with 496 additions and 530 deletions.
7 changes: 0 additions & 7 deletions keyboards/basekeys/slice/rev1/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#pragma once

/* USB Device descriptor parameter */
#define VENDOR_ID 0x04D8
#define PRODUCT_ID 0xEC17
#define DEVICE_VER 0x0002
#define MANUFACTURER 2Moons
#define PRODUCT Slice

/* key matrix size */
#define MATRIX_ROWS 10
#define MATRIX_COLS 9
Expand Down
8 changes: 7 additions & 1 deletion keyboards/basekeys/slice/rev1/info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"keyboard_name": "slice",
"keyboard_name": "Slice",
"manufacturer": "2Moons",
"url": "https://www.basekeys.com",
"maintainer": "2Moons",
"usb": {
"vid": "0x04D8",
"pid": "0xEC17",
"device_version": "0.0.2"
},
"layouts": {
"LAYOUT": {
"layout": [{"label":"Esc", "x":0, "y":0}, {"label":"~", "x":1.6600000000000001, "y":0}, {"label":"!", "x":2.66, "y":0}, {"label":"@", "x":3.66, "y":0}, {"label":"#", "x":4.66, "y":0}, {"label":"$", "x":5.66, "y":0}, {"label":"%", "x":6.66, "y":0}, {"label":"^", "x":7.66, "y":0}, {"label":"&", "x":9.32, "y":0}, {"label":"*", "x":10.32, "y":0}, {"label":"(", "x":11.32, "y":0}, {"label":")", "x":12.32, "y":0}, {"label":"_", "x":13.32, "y":0}, {"label":"+", "x":14.32, "y":0}, {"label":"Backspace", "x":15.32, "y":0, "w":2}, {"x":0, "y":1}, {"label":"Tab", "x":1.53, "y":1, "w":1.5}, {"label":"Q", "x":3.03, "y":1}, {"label":"W", "x":4.03, "y":1}, {"label":"E", "x":5.03, "y":1}, {"label":"R", "x":6.03, "y":1}, {"label":"T", "x":7.03, "y":1}, {"label":"Y", "x":9, "y":1}, {"label":"U", "x":10, "y":1}, {"label":"I", "x":11, "y":1}, {"label":"O", "x":12, "y":1}, {"label":"P", "x":13, "y":1}, {"label":"{", "x":14, "y":1}, {"label":"}", "x":15.05, "y":1}, {"label":"|", "x":16.1, "y":1, "w":1.5}, {"x":0, "y":2}, {"label":"Caps Lock", "x":1.3900000000000001, "y":2, "w":1.75}, {"label":"A", "x":3.14, "y":2}, {"label":"S", "x":4.14, "y":2}, {"label":"D", "x":5.14, "y":2}, {"label":"F", "x":6.14, "y":2}, {"label":"G", "x":7.14, "y":2}, {"label":"H", "x":9.34, "y":2}, {"label":"J", "x":10.34, "y":2}, {"label":"K", "x":11.34, "y":2}, {"label":"L", "x":12.34, "y":2}, {"label":":", "x":13.34, "y":2}, {"label":"\"", "x":14.34, "y":2}, {"label":"Enter", "x":15.34, "y":2, "w":2.25}, {"x":0, "y":3}, {"label":"Shift", "x":1.25, "y":3, "w":2.25}, {"label":"Z", "x":3.5, "y":3}, {"label":"X", "x":4.5, "y":3}, {"label":"C", "x":5.5, "y":3}, {"label":"V", "x":6.5, "y":3}, {"label":"B", "x":7.5, "y":3}, {"label":"B", "x":8.97, "y":3}, {"label":"N", "x":9.97, "y":3}, {"label":"M", "x":10.97, "y":3}, {"label":"<", "x":11.97, "y":3}, {"label":">", "x":12.97, "y":3}, {"label":"?", "x":13.97, "y":3}, {"label":"Shift", "x":14.97, "y":3, "w":1.75}, {"label":"Shift", "x":16.72, "y":3}, {"x":0, "y":4}, {"label":"Ctrl", "x":1.5, "y":4, "w":1.25}, {"label":"Alt", "x":2.75, "y":4, "w":1.25}, {"label":"\u21d3", "x":4.75, "y":4}, {"x":5.75, "y":4, "w":2.75}, {"x":8.97, "y":4, "w":2.25}, {"label":"\u21d1", "x":11.22, "y":4}, {"label":"Alt", "x":13.98, "y":4, "w":1.25}, {"label":"Ctrl", "x":15.23, "y":4, "w":1.25}, {"label":"Fn", "x":16.48, "y":4}]
Expand Down
7 changes: 0 additions & 7 deletions keyboards/basekeys/slice/rev1_rgb/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once

/* USB Device descriptor parameter */
#define VENDOR_ID 0x04D8
#define PRODUCT_ID 0xEC15
#define DEVICE_VER 0x0002
#define MANUFACTURER 2Moons
#define PRODUCT Slice RGB

/* key matrix size */
#define MATRIX_ROWS 10
#define MATRIX_COLS 9
Expand Down
8 changes: 7 additions & 1 deletion keyboards/basekeys/slice/rev1_rgb/info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"keyboard_name": "slice",
"keyboard_name": "Slice RGB",
"manufacturer": "2Moons",
"url": "https://www.basekeys.com",
"maintainer": "2Moons",
"usb": {
"vid": "0x04D8",
"pid": "0xEC15",
"device_version": "0.0.2"
},
"layouts": {
"LAYOUT": {
"layout": [{"label":"Esc", "x":0, "y":0}, {"label":"~", "x":1.660, "y":0}, {"label":"!", "x":2.66, "y":0}, {"label":"@", "x":3.66, "y":0}, {"label":"#", "x":4.66, "y":0}, {"label":"$", "x":5.66, "y":0}, {"label":"%", "x":6.66, "y":0}, {"label":"^", "x":7.66, "y":0}, {"label":"&", "x":9.32, "y":0}, {"label":"*", "x":10.32, "y":0}, {"label":"(", "x":11.32, "y":0}, {"label":")", "x":12.32, "y":0}, {"label":"_", "x":13.32, "y":0}, {"label":"+", "x":14.32, "y":0}, {"label":"Backspace", "x":15.32, "y":0, "w":2}, {"x":0, "y":1}, {"label":"Tab", "x":1.53, "y":1, "w":1.5}, {"label":"Q", "x":3.03, "y":1}, {"label":"W", "x":4.03, "y":1}, {"label":"E", "x":5.03, "y":1}, {"label":"R", "x":6.03, "y":1}, {"label":"T", "x":7.03, "y":1}, {"label":"Y", "x":9, "y":1}, {"label":"U", "x":10, "y":1}, {"label":"I", "x":11, "y":1}, {"label":"O", "x":12, "y":1}, {"label":"P", "x":13, "y":1}, {"label":"{", "x":14, "y":1}, {"label":"}", "x":15.05, "y":1}, {"label":"|", "x":16.1, "y":1, "w":1.5}, {"x":0, "y":2}, {"label":"Caps Lock", "x":1.390, "y":2, "w":1.75}, {"label":"A", "x":3.14, "y":2}, {"label":"S", "x":4.14, "y":2}, {"label":"D", "x":5.14, "y":2}, {"label":"F", "x":6.14, "y":2}, {"label":"G", "x":7.14, "y":2}, {"label":"H", "x":9.34, "y":2}, {"label":"J", "x":10.34, "y":2}, {"label":"K", "x":11.34, "y":2}, {"label":"L", "x":12.34, "y":2}, {"label":":", "x":13.34, "y":2}, {"label":"\"", "x":14.34, "y":2}, {"label":"Enter", "x":15.34, "y":2, "w":2.25}, {"x":0, "y":3}, {"label":"Shift", "x":1.25, "y":3, "w":2.25}, {"label":"Z", "x":3.5, "y":3}, {"label":"X", "x":4.5, "y":3}, {"label":"C", "x":5.5, "y":3}, {"label":"V", "x":6.5, "y":3}, {"label":"B", "x":7.5, "y":3}, {"label":"B", "x":8.97, "y":3}, {"label":"N", "x":9.97, "y":3}, {"label":"M", "x":10.97, "y":3}, {"label":"<", "x":11.97, "y":3}, {"label":">", "x":12.97, "y":3}, {"label":"?", "x":13.97, "y":3}, {"label":"Shift", "x":14.97, "y":3, "w":1.75}, {"label":"Shift", "x":16.72, "y":3}, {"x":0, "y":4}, {"label":"Ctrl", "x":1.5, "y":4, "w":1.25}, {"label":"Alt", "x":2.75, "y":4, "w":1.25}, {"label":"\u21d3", "x":4.75, "y":4}, {"x":5.75, "y":4, "w":2.75}, {"x":8.97, "y":4, "w":2.25}, {"label":"\u21d1", "x":11.22, "y":4}, {"label":"Alt", "x":13.98, "y":4, "w":1.25}, {"label":"Ctrl", "x":15.23, "y":4, "w":1.25}, {"label":"Fn", "x":16.48, "y":4}]
Expand Down
2 changes: 0 additions & 2 deletions keyboards/bastardkb/charybdis/3x5/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@

#pragma once

#include "config_common.h"

/* Key matrix configuration. */
#define MATRIX_ROWS 8 // Rows are doubled-up.
#define MATRIX_COLS 5
Expand Down
7 changes: 6 additions & 1 deletion keyboards/bastardkb/charybdis/3x5/info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
{
"url": "https://bastardkb.com/charybdis-nano",
"keyboard_name": "Charybdis Nano",
"manufacturer": "Bastard Keyboards",
"url": "https://www.bastardkb.com",
"maintainer": "Quentin Lebastard",
"usb": {
"vid": "0xA8F8",
"pid": "0x1832",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT_charybdis_3x5": {
Expand Down
2 changes: 0 additions & 2 deletions keyboards/bastardkb/charybdis/4x6/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@

#pragma once

#include "config_common.h"

/* Key matrix configuration. */
#define MATRIX_ROWS 10 // Rows are doubled-up.
#define MATRIX_COLS 6
Expand Down
7 changes: 6 additions & 1 deletion keyboards/bastardkb/charybdis/4x6/info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
{
"url": "https://bastardkb.com/charybdis",
"keyboard_name": "Charybdis",
"manufacturer": "Bastard Keyboards",
"url": "https://www.bastardkb.com",
"maintainer": "Quentin Lebastard",
"usb": {
"vid": "0xA8F8",
"pid": "0x1833",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT_charybdis_4x6": {
Expand Down
6 changes: 0 additions & 6 deletions keyboards/bear_face/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"

/* USB Device descriptor parameter */
#define VENDOR_ID 0xFEED
#define PRODUCT_ID 0x09f5
#define MANUFACTURER chemicalwill
#define PRODUCT bear_face

/* key matrix size */
#define MATRIX_ROWS 6
#define MATRIX_COLS 15
Expand Down
10 changes: 10 additions & 0 deletions keyboards/bear_face/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"keyboard_name": "bear_face",
"manufacturer": "chemicalwill",
"url": "https://github.com/chemicalwill/bear_face_pcb",
"maintainer": "chemicalwill",
"usb": {
"vid": "0xFEED",
"pid": "0x09F5"
}
}
19 changes: 0 additions & 19 deletions keyboards/bear_face/v1/config.h

This file was deleted.

6 changes: 3 additions & 3 deletions keyboards/bear_face/v1/info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"keyboard_name": "bear_face",
"url": "https://github.com/chemicalwill/bear_face_pcb",
"maintainer": "chemicalwill",
"usb": {
"device_version": "1.0.0"
},
"layouts": {
"LAYOUT_83_ansi": {
"layout": [
Expand Down
19 changes: 0 additions & 19 deletions keyboards/bear_face/v2/config.h

This file was deleted.

6 changes: 3 additions & 3 deletions keyboards/bear_face/v2/info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"keyboard_name": "bear_face",
"url": "https://github.com/chemicalwill/bear_face_pcb",
"maintainer": "chemicalwill",
"usb": {
"device_version": "2.0.0"
},
"layouts": {
"LAYOUT_83_ansi": {
"layout": [
Expand Down
6 changes: 0 additions & 6 deletions keyboards/bemeier/bmek/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@

#include "config_common.h"

/* USB Device descriptor parameter */
#define VENDOR_ID 0x626D // BeMeier
#define PRODUCT_ID 0x656B // ErgonomicKeyboard
#define MANUFACTURER Bemeier
#define PRODUCT BMEK

#define DYNAMIC_KEYMAP_LAYER_COUNT 5
#define VIA_EEPROM_CUSTOM_CONFIG_SIZE 20

Expand Down
7 changes: 6 additions & 1 deletion keyboards/bemeier/bmek/info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
{
"keyboard_name": "bmek",
"keyboard_name": "BMEK",
"manufacturer": "Bemeier",
"url": "https://github.com/Bemeier/bmek",
"maintainer": "Bemeier",
"usb": {
"vid": "0x626D",
"pid": "0x656B"
},
"layouts": {
"LAYOUT_all": {
"layout": [
Expand Down
2 changes: 0 additions & 2 deletions keyboards/bemeier/bmek/rev1/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@

#include "config_common.h"

#define DEVICE_VER 0x0001

#define MATRIX_ROW_PINS \
{ D4, D7, B6, B4, B7 }
#define MATRIX_COL_PINS \
Expand Down
5 changes: 5 additions & 0 deletions keyboards/bemeier/bmek/rev1/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"usb": {
"device_version": "0.0.1"
}
}
2 changes: 0 additions & 2 deletions keyboards/bemeier/bmek/rev2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@

#include "config_common.h"

#define DEVICE_VER 0x0002

#define MATRIX_ROW_PINS \
{ F4, F5, D7, B5, B4 }
#define MATRIX_COL_PINS \
Expand Down
5 changes: 5 additions & 0 deletions keyboards/bemeier/bmek/rev2/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"usb": {
"device_version": "0.0.2"
}
}
2 changes: 0 additions & 2 deletions keyboards/bemeier/bmek/rev3/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@

#include "config_common.h"

#define DEVICE_VER 0x0003

#define MATRIX_ROW_PINS \
{ F1, B4, B5, D6, D7 }
#define MATRIX_COL_PINS \
Expand Down
5 changes: 5 additions & 0 deletions keyboards/bemeier/bmek/rev3/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"usb": {
"device_version": "0.0.3"
}
}
7 changes: 0 additions & 7 deletions keyboards/biacco42/ergo42/rev1/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#include "config_common.h"

/* USB Device descriptor parameter */
#define VENDOR_ID 0xBC42
#define PRODUCT_ID 0x0042
#define DEVICE_VER 0x0100
#define MANUFACTURER Biacco42
#define PRODUCT Ergo42

/* key matrix size */
// Rows are doubled-up
#define MATRIX_ROWS 8
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"keyboard_name": "Ergo42",
"manufacturer": "Biacco42",
"url": "",
"maintainer": "qmk",
"usb": {
"vid": "0xBC42",
"pid": "0x0042",
"device_version": "1.0.0"
},
"layouts": {
"LAYOUT_ortho_4x14": {
"layout": [{"label":"L00", "x":0, "y":0}, {"label":"L01", "x":1, "y":0}, {"label":"L02", "x":2, "y":0}, {"label":"L03", "x":3, "y":0}, {"label":"L04", "x":4, "y":0}, {"label":"L05", "x":5, "y":0}, {"label":"L06", "x":6, "y":0}, {"label":"R00", "x":8, "y":0}, {"label":"R01", "x":9, "y":0}, {"label":"R02", "x":10, "y":0}, {"label":"R03", "x":11, "y":0}, {"label":"R04", "x":12, "y":0}, {"label":"R05", "x":13, "y":0}, {"label":"R06", "x":14, "y":0}, {"label":"L10", "x":0, "y":1}, {"label":"L11", "x":1, "y":1}, {"label":"L12", "x":2, "y":1}, {"label":"L13", "x":3, "y":1}, {"label":"L14", "x":4, "y":1}, {"label":"L15", "x":5, "y":1}, {"label":"L16", "x":6, "y":1}, {"label":"R10", "x":8, "y":1}, {"label":"R11", "x":9, "y":1}, {"label":"R12", "x":10, "y":1}, {"label":"R13", "x":11, "y":1}, {"label":"R14", "x":12, "y":1}, {"label":"R15", "x":13, "y":1}, {"label":"R16", "x":14, "y":1}, {"label":"L20", "x":0, "y":2}, {"label":"L21", "x":1, "y":2}, {"label":"L22", "x":2, "y":2}, {"label":"L23", "x":3, "y":2}, {"label":"L24", "x":4, "y":2}, {"label":"L25", "x":5, "y":2}, {"label":"L26", "x":6, "y":2}, {"label":"R20", "x":8, "y":2}, {"label":"R21", "x":9, "y":2}, {"label":"R22", "x":10, "y":2}, {"label":"R23", "x":11, "y":2}, {"label":"R24", "x":12, "y":2}, {"label":"R25", "x":13, "y":2}, {"label":"R26", "x":14, "y":2}, {"label":"L30", "x":0, "y":3}, {"label":"L31", "x":1, "y":3}, {"label":"L32", "x":2, "y":3}, {"label":"L33", "x":3, "y":3}, {"label":"L34", "x":4, "y":3}, {"label":"L35", "x":5, "y":3}, {"label":"L36", "x":6, "y":3}, {"label":"R30", "x":8, "y":3}, {"label":"R31", "x":9, "y":3}, {"label":"R32", "x":10, "y":3}, {"label":"R33", "x":11, "y":3}, {"label":"R34", "x":12, "y":3}, {"label":"R35", "x":13, "y":3}, {"label":"R36", "x":14, "y":3}]
Expand Down
77 changes: 77 additions & 0 deletions keyboards/boardsource/microdox/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
/*
Copyright 2020 Cole Smith <cole@boadsource.xyz>
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

#include "config_common.h"

/* key matrix size */
// Rows are doubled-up
#define MATRIX_ROWS 8
#define MATRIX_COLS 5
#define MATRIX_ROW_PINS \
{ B2, B6, B4, B5 }

// wiring of each half
#define MATRIX_COL_PINS \
{ F4, F5, F6, F7, B1 }
#define USE_SERIAL
#define SOFT_SERIAL_PIN D2
/* define if matrix has ghost */
//#define MATRIX_HAS_GHOST

/* number of backlight levels */
// #define BACKLIGHT_LEVELS 3

/* Set 0 if debouncing isn't needed */
#define DEBOUNCE 5

/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
//#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
//#define LOCKING_RESYNC_ENABLE

/* ws2812 RGB LED */
#define RGB_DI_PIN D3
#ifdef RGBLIGHT_ENABLE
# define RGBLED_NUM 12 // Number of LEDs
# define RGBLED_SPLIT \
{ 6, 6 }
# define RGBLIGHT_EFFECT_BREATHING
# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
# define RGBLIGHT_EFFECT_STATIC_GRADIENT

#endif

/*
* Feature disable options
* These options are also useful to firmware size reduction.
*/

/* disable debug print */
// #define NO_DEBUG

/* disable print */
// #define NO_PRINT

/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
Loading

0 comments on commit 205197b

Please sign in to comment.