mirror of
https://github.com/dnlbauer/corax-zmk-config.git
synced 2026-09-10 21:55:29 +00:00
external power
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#include <dt-bindings/zmk/bt.h>
|
||||
#include <dt-bindings/zmk/keys.h>
|
||||
#include <dt-bindings/zmk/outputs.h>
|
||||
#include <dt-bindings/zmk/ext_power.h>
|
||||
|
||||
#define COLEMAK 0
|
||||
#define QWERTY 1
|
||||
@@ -183,11 +184,11 @@
|
||||
adjust_layer {
|
||||
label = "Adjust";
|
||||
bindings = <
|
||||
&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
|
||||
&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 &trans &trans &trans &trans &trans
|
||||
&trans &trans &trans &trans &sys_reset &sys_reset &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
|
||||
&trans &trans &trans &to COLEMAK &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
||||
&trans &trans &trans &trans &trans &trans &trans &trans
|
||||
>;
|
||||
|
||||
sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP &inc_dec_kp PG_DN PG_UP>;
|
||||
|
||||
@@ -13,3 +13,5 @@ CONFIG_BT_CTLR_TX_PWR_PLUS_8=y
|
||||
|
||||
# enforce windows to show battery
|
||||
CONFIG_BT_GATT_ENFORCE_SUBSCRIPTION=y
|
||||
|
||||
CONFIG_ZMK_EXT_POWER=y
|
||||
Reference in New Issue
Block a user