1
0
Fork 0

Move keyboard USB IDs and strings to data driven: C (#17789)

This commit is contained in:
Ryan 2022-07-26 09:04:09 +10:00 committed by GitHub
parent b6ac0ecf82
commit a939293aca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
248 changed files with 783 additions and 905 deletions

View file

@ -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 0xFEED
#define PRODUCT_ID 0xCA22
#define DEVICE_VER 0x0001
#define MANUFACTURER rockydbull
#define PRODUCT Catch22 Hotswap Macropad
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 5

View file

@ -1,5 +1,11 @@
{
"keyboard_name": "catch22",
"keyboard_name": "Catch22 Hotswap Macropad",
"manufacturer": "rockydbull",
"usb": {
"vid": "0xFEED",
"pid": "0xCA22",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT": {
"layout": [{"label":"A", "x":1, "y":0}, {"label":"B", "x":2, "y":0}, {"label":"C", "x":3, "y":0}, {"label":"D", "x":4, "y":0}, {"label":"E", "x":1, "y":1}, {"label":"F", "x":2, "y":1}, {"label":"G", "x":3, "y":1}, {"label":"H", "x":4, "y":1}, {"label":"I", "x":0, "y":2}, {"label":"J", "x":1, "y":2}, {"label":"K", "x":2, "y":2}, {"label":"L", "x":3, "y":2}, {"label":"M", "x":4, "y":2}, {"label":"1", "x":0, "y":3, "h":2}, {"label":"N", "x":1, "y":3}, {"label":"O", "x":2, "y":3}, {"label":"P", "x":3, "y":3}, {"label":"Q", "x":4, "y":3}, {"label":"R", "x":1, "y":4}, {"label":"S", "x":2, "y":4}, {"label":"T", "x":3, "y":4}, {"label":"U", "x":4, "y":4}]