Move keyboard USB IDs and strings to data driven: N (#17865)

This commit is contained in:
Ryan
2022-08-02 10:10:48 +10:00
committed by GitHub
parent 7222969964
commit 056a44c7d3
114 changed files with 367 additions and 434 deletions

View File

@@ -19,14 +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 0x4E58 //"NX"
#define PRODUCT_ID 0x0899 //2201
#define DEVICE_VER 0x0001
#define MANUFACTURER Noxary
#define PRODUCT 220
/* key matrix size */
#define MATRIX_ROWS 6
#define MATRIX_COLS 4

View File

@@ -1,7 +1,13 @@
{
"keyboard_name": "Noxary 220",
"keyboard_name": "220",
"manufacturer": "Noxary",
"url": "",
"maintainer": "qmk",
"usb": {
"vid": "0x4E58",
"pid": "0x0899",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT_ortho_6x4": {
"layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":0, "y":1.5}, {"x":1, "y":1.5}, {"x":2, "y":1.5}, {"x":3, "y":1.5}, {"x":0, "y":2.5}, {"x":1, "y":2.5}, {"x":2, "y":2.5}, {"x":3, "y":2.5}, {"x":0, "y":3.5}, {"x":1, "y":3.5}, {"x":2, "y":3.5}, {"x":3, "y":3.5}, {"x":0, "y":4.5}, {"x":1, "y":4.5}, {"x":2, "y":4.5}, {"x":3, "y":4.5}, {"x":0, "y":5.5}, {"x":1, "y":5.5}, {"x":2, "y":5.5}, {"x":3, "y":5.5}]