mirror of
https://github.com/CrispyPin/zmk-config.git
synced 2024-11-22 01:50:24 +01:00
maybe fix battery level?
This commit is contained in:
parent
b56a85c4ef
commit
35b2760d8d
1 changed files with 6 additions and 11 deletions
|
@ -1,20 +1,15 @@
|
||||||
#include <dt-bindings/zmk/matrix_transform.h>
|
#include <dt-bindings/zmk/matrix_transform.h>
|
||||||
|
|
||||||
/ {
|
|
||||||
chosen {
|
|
||||||
zmk,battery = &vbatt;
|
|
||||||
};
|
|
||||||
|
|
||||||
vbatt: vbatt {
|
|
||||||
compatible = "zmk,battery-nrf-vddh";
|
|
||||||
label = "VBATT";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
chosen {
|
chosen {
|
||||||
zmk,kscan = &kscan0;
|
zmk,kscan = &kscan0;
|
||||||
zmk,matrix_transform = &default_transform;
|
zmk,matrix_transform = &default_transform;
|
||||||
|
zmk,battery = &vbatt;
|
||||||
|
};
|
||||||
|
|
||||||
|
vbatt: vbatt {
|
||||||
|
compatible = "zmk,battery-nrf-vddh";
|
||||||
|
label = "VBATT";
|
||||||
};
|
};
|
||||||
|
|
||||||
default_transform: keymap_transform_0 {
|
default_transform: keymap_transform_0 {
|
||||||
|
|
Loading…
Reference in a new issue