Move keyboard USB IDs and strings to data driven: Y (#17926)

This commit is contained in:
Ryan
2022-08-06 18:52:13 +10:00
committed by GitHub
parent 0e3cc6af12
commit fb19e14048
68 changed files with 217 additions and 245 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 0x594D // "YM"
#define PRODUCT_ID 0x5021 // "P" 21
#define DEVICE_VER 0x0200
#define MANUFACTURER YMDK
#define PRODUCT NP21
/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 6

View File

@@ -1,6 +1,12 @@
{
"keyboard_name": "YMDK NP21",
"keyboard_name": "NP21",
"manufacturer": "YMDK",
"maintainer": "qmk",
"usb": {
"vid": "0x594D",
"pid": "0x5021",
"device_version": "2.0.0"
},
"layouts": {
"LAYOUT_ortho_6x4": {
"layout": [