testeando el acceso a a control externo de energia y mas acciones de ble, tambien probando las lucesrgb de abajo del teclado

This commit is contained in:
Chow Castro, Marcos 2022-09-16 10:16:53 +02:00
parent 21380362b6
commit d9e2062d94
2 changed files with 14 additions and 5 deletions

View file

@ -4,3 +4,11 @@
# Uncomment the following line to enable the Corne OLED Display # Uncomment the following line to enable the Corne OLED Display
# CONFIG_ZMK_DISPLAY=y # CONFIG_ZMK_DISPLAY=y
# Enabling Backlight
CONFIG_ZMK_BACKLIGHT=y
CONFIG_ZMK_BACKLIGHT_BRT_STEP=20
CONFIG_ZMK_BACKLIGHT_BRT_START=40
CONFIG_ZMK_BACKLIGHT_ON_START=y
CONFIG_ZMK_BACKLIGHT_AUTO_OFF_IDLE=n
CONFIG_ZMK_BACKLIGHT_AUTO_OFF_USB=n

View file

@ -9,6 +9,7 @@
#include <dt-bindings/zmk/keys.h> #include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h> #include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/outputs.h> #include <dt-bindings/zmk/outputs.h>
#include <dt-bindings/zmk/ext_power.h>
#define DEFAULT 0 #define DEFAULT 0
#define NUMBER 1 #define NUMBER 1
@ -127,16 +128,16 @@
// .------------------------------------------------. TODO: .-------------------------------------------------. // .------------------------------------------------. TODO: .-------------------------------------------------.
// | | | |OUT_USB|OUT_TOG|OUT_BLE| | | |WH_LEFT|WH_RIGH|WH_DOWN| WH_UP | // | | | |OUT_USB|OUT_TOG|OUT_BLE| | | |WH_LEFT|WH_RIGH|WH_DOWN| WH_UP |
// |--------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+---------| // |--------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+---------|
// | |CLICK_1|CLICK_2| | | | | | | |CLICK_1| UP |CLICK_2 | // | |CLICK_1|CLICK_2|BT_CLR |BT_PRV | BT_NXT| | | | |CLICK_1| UP |CLICK_2 |
// |--------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+---------| // |--------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+---------|
// | L_SHIFT| |BT_CLR |BT_0 |BT_1 |BT_2 | | | | | LEFT | DOWN | RIGHT | // |BT_CLR |BT_0 |BT_1 |BT_2 |BT_3 |BT_4 | |EP_ON | EP_OFF|EP_TOG | LEFT | DOWN | RIGHT |
// '---------------------------------------------------------| |----------------------------------------------------------' // '---------------------------------------------------------| |----------------------------------------------------------'
// | CTRL | CMD | SPACE | | | | | // | CTRL | CMD | SPACE | | | | |
// '--------------------------------' '--------------------------------' // '--------------------------------' '--------------------------------'
bindings = < bindings = <
&none &none &none &out OUT_USB &out OUT_TOG &out OUT_BLE &none &none &none &none &none &none &none &none &none &out OUT_USB &out OUT_BLE &out OUT_TOG &none &none &none &none &none &none
&none &none &none &none &none &none &none &none &none &none &none &none &none &none &none &bt BT_CLR &bt BT_PRV &bt BT_NXT &none &none &none &none &none &none
&none &none &bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &none &none &none &none &none &none &bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &ext_power EP_ON &ext_power EP_OFF &ext_power EP_TOG &none &none &none
&kp LCTRL &kp LGUI &kp SPACE &kp RET &kp RALT &kp LCTRL &kp LCTRL &kp LGUI &kp SPACE &kp RET &kp RALT &kp LCTRL
>; >;
}; };