1
0
Fork 0

Move keyboard USB IDs and strings to data driven: handwired (#17822)

This commit is contained in:
Ryan 2022-07-30 17:31:44 +10:00 committed by GitHub
parent 1c6b0391b4
commit 2d778d2ff2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
327 changed files with 1044 additions and 1192 deletions

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 0xFEED
#define PRODUCT_ID 0x0037
#define DEVICE_VER 0x0001
#define MANUFACTURER joaofbmaia
#define PRODUCT 6macro
/* key matrix size */
#define MATRIX_ROWS 2
#define MATRIX_COLS 3

View file

@ -1,7 +1,13 @@
{
"keyboard_name": "6macro",
"manufacturer": "joaofbmaia",
"url": "",
"maintainer": "joaofbmaia",
"usb": {
"vid": "0xFEED",
"pid": "0x0037",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT": {
"layout": [{"label":"k00", "x":0, "y":0}, {"label":"k01", "x":1, "y":0}, {"label":"k02", "x":2, "y":0}, {"label":"k10", "x":0, "y":1}, {"label":"k11", "x":1, "y":1}, {"label":"k12", "x":2, "y":1}]