From 989f2476b6053fbb970a1560094b04b88d337891 Mon Sep 17 00:00:00 2001 From: Vino Rodrigues <366673+vinorodrigues@users.noreply.github.com> Date: Fri, 10 Feb 2023 08:01:21 +1100 Subject: [Keyboard] Add Binepad BNR1 v2 rotary encoder (#19770) --- keyboards/binepad/bnr1/v1/info.json | 10 +++++++++- keyboards/binepad/bnr1/v1/rules.mk | 4 +++- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'keyboards/binepad/bnr1/v1') 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 -- cgit v1.2.3