summaryrefslogtreecommitdiff
path: root/keyboards/binepad/bn009
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-07-26 01:20:19 +1000
committerGitHub <noreply@github.com>2022-07-25 16:20:19 +0100
commit50c2b151b203b776bacdf48deb7606f1d6c516fd (patch)
tree99db4f8b545d9bece871361bcc53c94b517c3fb6 /keyboards/binepad/bn009
parentd2161f113be1a63a4f913adacbdad96a2d23c31f (diff)
Move keyboard USB IDs and strings to data driven: B (#17782)
Diffstat (limited to 'keyboards/binepad/bn009')
-rw-r--r--keyboards/binepad/bn009/config.h7
-rw-r--r--keyboards/binepad/bn009/info.json6
2 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/binepad/bn009/config.h b/keyboards/binepad/bn009/config.h
index 0b12f54c75..8fb7182d91 100644
--- a/keyboards/binepad/bn009/config.h
+++ b/keyboards/binepad/bn009/config.h
@@ -18,13 +18,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x4249 // Binepad
-#define PRODUCT_ID 0x4295
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Binepad
-#define PRODUCT BN009
-
/* Key matrix size */
#define MATRIX_ROWS 3
#define MATRIX_COLS 3
diff --git a/keyboards/binepad/bn009/info.json b/keyboards/binepad/bn009/info.json
index 2d439c8257..528cf57016 100644
--- a/keyboards/binepad/bn009/info.json
+++ b/keyboards/binepad/bn009/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "BN009",
+ "manufacturer": "Binepad",
"url": "https://binepad.com",
"maintainer": "binepad",
+ "usb": {
+ "vid": "0x4249",
+ "pid": "0x4295",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [{"label":"k00", "x":0, "y":0}, {"label":"k01", "x":1, "y":0}, {"label":"k02", "x":2, "y":0}, {"label":"k10", "x":0, "y":1}, {"label":"k11", "x":1, "y":1}, {"label":"k12", "x":2, "y":1}, {"label":"k20", "x":0, "y":2}, {"label":"k21", "x":1, "y":2}, {"label":"k22", "x":2, "y":2}]