mirror of
https://github.com/dnlbauer/corax-zmk-config.git
synced 2026-09-10 13:45:29 +00:00
external power
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
#include <dt-bindings/zmk/bt.h>
|
#include <dt-bindings/zmk/bt.h>
|
||||||
#include <dt-bindings/zmk/keys.h>
|
#include <dt-bindings/zmk/keys.h>
|
||||||
#include <dt-bindings/zmk/outputs.h>
|
#include <dt-bindings/zmk/outputs.h>
|
||||||
|
#include <dt-bindings/zmk/ext_power.h>
|
||||||
|
|
||||||
#define COLEMAK 0
|
#define COLEMAK 0
|
||||||
#define QWERTY 1
|
#define QWERTY 1
|
||||||
@@ -184,7 +185,7 @@
|
|||||||
label = "Adjust";
|
label = "Adjust";
|
||||||
bindings = <
|
bindings = <
|
||||||
&trans &trans &trans &trans &sys_reset &sys_reset &trans &trans &trans &trans
|
&trans &trans &trans &trans &sys_reset &sys_reset &trans &trans &trans &trans
|
||||||
&trans &to QWERTY &trans &to WASD &trans &trans &trans &trans &trans &trans &trans &trans
|
&trans &to QWERTY &trans &to WASD &ext_power EP_ON &ext_power EP_OFF &trans &trans &trans &trans &trans &trans
|
||||||
&bt BT_CLR &trans &trans &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &out OUT_TOG &trans &bt BT_NXT &bt BT_PRV &out OUT_TOG &trans &trans &trans
|
&bt BT_CLR &trans &trans &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &out OUT_TOG &trans &bt BT_NXT &bt BT_PRV &out OUT_TOG &trans &trans &trans
|
||||||
&trans &trans &trans &to COLEMAK &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
&trans &trans &trans &to COLEMAK &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
||||||
&trans &trans &trans &trans &trans &trans &trans &trans
|
&trans &trans &trans &trans &trans &trans &trans &trans
|
||||||
|
|||||||
@@ -13,3 +13,5 @@ CONFIG_BT_CTLR_TX_PWR_PLUS_8=y
|
|||||||
|
|
||||||
# enforce windows to show battery
|
# enforce windows to show battery
|
||||||
CONFIG_BT_GATT_ENFORCE_SUBSCRIPTION=y
|
CONFIG_BT_GATT_ENFORCE_SUBSCRIPTION=y
|
||||||
|
|
||||||
|
CONFIG_ZMK_EXT_POWER=y
|
||||||
Reference in New Issue
Block a user