Move keyboard USB IDs and strings to data driven: M (#17859)

This commit is contained in:
Ryan
2022-08-03 17:15:43 +10:00
committed by GitHub
parent 1b92c204c1
commit 3da6575e24
327 changed files with 1042 additions and 1214 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 0x4D42
#define PRODUCT_ID 0x0017
#define DEVICE_VER 0x0001
#define MANUFACTURER Mountainblocks
#define PRODUCT MB17
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 4

View File

@@ -1,7 +1,13 @@
{
"keyboard_name": "MB17",
"manufacturer": "Mountainblocks",
"url": "",
"maintainer": "qmk",
"usb": {
"vid": "0x4D42",
"pid": "0x0017",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT_numpad_5x4": {
"layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":3, "y":1, "h":2}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":0, "y":4, "w":2}, {"x":2, "y":4}, {"x":3, "y":3, "h":2}]