summaryrefslogtreecommitdiff
path: root/keyboards/binepad
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/binepad')
-rw-r--r--keyboards/binepad/bn003/config.h8
-rw-r--r--keyboards/binepad/bn003/info.json6
-rw-r--r--keyboards/binepad/bn009/config.h8
-rw-r--r--keyboards/binepad/bn009/info.json6
4 files changed, 12 insertions, 16 deletions
diff --git a/keyboards/binepad/bn003/config.h b/keyboards/binepad/bn003/config.h
index de5fb533a0..1c818b7459 100644
--- a/keyboards/binepad/bn003/config.h
+++ b/keyboards/binepad/bn003/config.h
@@ -18,20 +18,12 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x4249 // Binepad
-#define PRODUCT_ID 0x4287
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Binepad
-#define PRODUCT BN003
-
/* Key matrix size */
#define MATRIX_ROWS 1
#define MATRIX_COLS 3
#define MATRIX_ROW_PINS { C6 }
#define MATRIX_COL_PINS { B4, B5, B6 }
-#define UNUSED_PINS
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/binepad/bn003/info.json b/keyboards/binepad/bn003/info.json
index 6bb5724e47..aeff56fb01 100644
--- a/keyboards/binepad/bn003/info.json
+++ b/keyboards/binepad/bn003/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "BN003",
+ "manufacturer": "Binepad",
"url": "https://binepad.com",
"maintainer": "binepad",
+ "usb": {
+ "vid": "0x4249",
+ "pid": "0x4287",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/binepad/bn009/config.h b/keyboards/binepad/bn009/config.h
index 0b12f54c75..48c2fd984c 100644
--- a/keyboards/binepad/bn009/config.h
+++ b/keyboards/binepad/bn009/config.h
@@ -18,20 +18,12 @@
#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
#define MATRIX_ROW_PINS { D2, D1, D0 }
#define MATRIX_COL_PINS { B6, B5, B4 }
-#define UNUSED_PINS
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
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}]