File tree Expand file tree Collapse file tree 4 files changed +32
-0
lines changed
Expand file tree Collapse file tree 4 files changed +32
-0
lines changed Original file line number Diff line number Diff line change 144144 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
145145 };
146146};
147+
148+ / {
149+ mdbt50q_rx_buttons: buttons {
150+ status = "disabled";
151+ };
152+ };
Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ CONFIG_ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_PROXY=y
1818CONFIG_ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_FETCHING=y
1919
2020CONFIG_INPUT=y
21+ CONFIG_INPUT_GPIO_KEYS=y
22+ CONFIG_INPUT_THREAD_STACK_SIZE=2048
2123
2224CONFIG_ZMK_STUDIO=y
2325CONFIG_ZMK_STUDIO_LOCKING=n
Original file line number Diff line number Diff line change 2424&trackball_listener {
2525 status = "okay";
2626};
27+
28+ &mdbt50q_rx_buttons {
29+ status = "okay";
30+ };
Original file line number Diff line number Diff line change 5353
5454&sl { release-after-ms = <1000>; };
5555
56+ / {
57+ input_processors {
58+ zip_button_to_key: zip_button_to_key {
59+ compatible = "zmk,input-processor-behaviors";
60+ #input-processor-cells = <0>;
61+ type = <INPUT_EV_KEY>;
62+ codes = <INPUT_KEY_0>;
63+ bindings = <&reset_bootloader 0 0>;
64+ };
65+ };
66+
67+ mdbt50q_rx_buttons_listener: mdbt50q_rx_buttons_listener {
68+ compatible = "zmk,input-listener";
69+ status = "okay";
70+ device = <&mdbt50q_rx_buttons>;
71+
72+ input-processors = <&zip_button_to_key>;
73+ };
74+ };
75+
5676&mouse_gesture_kp {
5777 tapping-term-ms = <200>;
5878 quick-tap-ms = <250>;
You can’t perform that action at this time.
0 commit comments