summaryrefslogtreecommitdiffstats
path: root/keyboards/binepad/bnr1/v1
diff options
context:
space:
mode:
authorVino Rodrigues <366673+vinorodrigues@users.noreply.github.com>2023-02-10 08:01:21 +1100
committerGitHub <noreply@github.com>2023-02-09 13:01:21 -0800
commit989f2476b6053fbb970a1560094b04b88d337891 (patch)
tree2a8a73b13748a2211312ea340dbbb44d80172f7f /keyboards/binepad/bnr1/v1
parent9c6b8fae404f4e31a898b01e47e9d53d9c0c8a45 (diff)
[Keyboard] Add Binepad BNR1 v2 rotary encoder (#19770)
Diffstat (limited to 'keyboards/binepad/bnr1/v1')
-rw-r--r--keyboards/binepad/bnr1/v1/info.json10
-rw-r--r--keyboards/binepad/bnr1/v1/rules.mk4
2 files changed, 12 insertions, 2 deletions
diff --git a/keyboards/binepad/bnr1/v1/info.json b/keyboards/binepad/bnr1/v1/info.json
index 44edbf87d3..1797755549 100644
--- a/keyboards/binepad/bnr1/v1/info.json
+++ b/keyboards/binepad/bnr1/v1/info.json
@@ -2,13 +2,21 @@
"bootloader": "atmel-dfu",
"processor": "atmega32u4",
"diode_direction": "COL2ROW",
+ "usb": {
+ "pid": "0x4231",
+ "device_version": "1.0.0"
+ },
"matrix_pins": {
"cols": ["B0"],
"rows": ["E6"]
},
"encoder": {
+ "enabled": true,
"rotary": [
- { "pin_a": "D6", "pin_b": "D7" }
+ {
+ "pin_a": "D6",
+ "pin_b": "D7"
+ }
]
}
}
diff --git a/keyboards/binepad/bnr1/v1/rules.mk b/keyboards/binepad/bnr1/v1/rules.mk
index 6e7633bfe0..ac022b38ca 100644
--- a/keyboards/binepad/bnr1/v1/rules.mk
+++ b/keyboards/binepad/bnr1/v1/rules.mk
@@ -1 +1,3 @@
-# This file intentionally left blank
+# This file is mostly left blank
+
+LTO_ENABLE = yes