Move keyboard USB IDs and strings to data driven, pass 2: M-O (#18090)

This commit is contained in:
Ryan
2022-08-20 10:45:28 +10:00
committed by GitHub
parent 201a914beb
commit f4dcce7e59
146 changed files with 418 additions and 452 deletions

View File

@@ -19,11 +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 0x4D4C
#define MANUFACTURER Mechlovin
#define PRODUCT Mechlovin Delphine
/* key matrix size */
#define MATRIX_ROWS 6
#define MATRIX_COLS 4

View File

@@ -1,7 +1,11 @@
{
"keyboard_name": "Delphine",
"manufacturer": "Mechlovin",
"url": "",
"maintainer": "mechlovin",
"usb": {
"vid": "0x4D4C"
},
"layouts": {
"LAYOUT_ortho_6x4": {
"layout": [

View File

@@ -1,10 +1,6 @@
#pragma once
#define PRODUCT_ID 0xDEF1
#define DEVICE_VER 0x0001
#ifdef BACKLIGHT_ENABLE
#define BACKLIGHT_PIN B6
// #define BACKLIGHT_BREATHING

View File

@@ -0,0 +1,6 @@
{
"usb": {
"pid": "0xDEF1",
"device_version": "0.0.1"
}
}

View File

@@ -1,8 +1,5 @@
#pragma once
#define PRODUCT_ID 0xDEF2
#define DEVICE_VER 0x0001
#ifdef RGBLIGHT_ENABLE
#define RGB_DI_PIN E2
#define RGBLED_NUM 13

View File

@@ -0,0 +1,6 @@
{
"usb": {
"pid": "0xDEF2",
"device_version": "0.0.1"
}
}