diff options
author | Ryan <fauxpark@gmail.com> | 2022-08-03 17:03:47 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-03 17:03:47 +1000 |
commit | 1b92c204c10594fce6a715710c277a748a4fdc68 (patch) | |
tree | 0b238d2ae2b06f29ad9e0db04e698b39d259e689 /keyboards/kbdfans/niu_mini | |
parent | ce9bb6d39bd1a0a3622dc95b9819f1ef5b33daf7 (diff) |
Move keyboard USB IDs and strings to data driven: K (#17846)
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
Diffstat (limited to 'keyboards/kbdfans/niu_mini')
-rw-r--r-- | keyboards/kbdfans/niu_mini/config.h | 8 | ||||
-rw-r--r-- | keyboards/kbdfans/niu_mini/info.json | 6 |
2 files changed, 6 insertions, 8 deletions
diff --git a/keyboards/kbdfans/niu_mini/config.h b/keyboards/kbdfans/niu_mini/config.h index 82f23e3d5c..3eafcd24cf 100644 --- a/keyboards/kbdfans/niu_mini/config.h +++ b/keyboards/kbdfans/niu_mini/config.h @@ -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 0x6E6D -#define PRODUCT_ID 0x0001 -#define DEVICE_VER 0x0001 -#define MANUFACTURER KBDFans -#define PRODUCT NIU Mini - /* key matrix size */ #define MATRIX_ROWS 4 #define MATRIX_COLS 12 diff --git a/keyboards/kbdfans/niu_mini/info.json b/keyboards/kbdfans/niu_mini/info.json index 1c4310576e..12a004d63e 100644 --- a/keyboards/kbdfans/niu_mini/info.json +++ b/keyboards/kbdfans/niu_mini/info.json @@ -1,7 +1,13 @@ { "keyboard_name": "NIU Mini", + "manufacturer": "KBDFans", "url": "", "maintainer": "qmk", + "usb": { + "vid": "0x6E6D", + "pid": "0x0001", + "device_version": "0.0.1" + }, "layouts": { "LAYOUT_ortho_4x12": { "layout": [ |