From d9e2062d94601ecf4b7501e8700a0162016ce4a3 Mon Sep 17 00:00:00 2001 From: "Chow Castro, Marcos" Date: Fri, 16 Sep 2022 10:16:53 +0200 Subject: [PATCH] testeando el acceso a a control externo de energia y mas acciones de ble, tambien probando las lucesrgb de abajo del teclado --- config/corne.conf | 8 ++++++++ config/corne.keymap | 11 ++++++----- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/config/corne.conf b/config/corne.conf index 974243c..9f16edd 100644 --- a/config/corne.conf +++ b/config/corne.conf @@ -4,3 +4,11 @@ # Uncomment the following line to enable the Corne OLED Display # 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 diff --git a/config/corne.keymap b/config/corne.keymap index 7cf3861..b721358 100644 --- a/config/corne.keymap +++ b/config/corne.keymap @@ -9,6 +9,7 @@ #include #include #include +#include #define DEFAULT 0 #define NUMBER 1 @@ -127,16 +128,16 @@ // .------------------------------------------------. TODO: .-------------------------------------------------. // | | | |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 | | | | | // '--------------------------------' '--------------------------------' bindings = < - &none &none &none &out OUT_USB &out OUT_TOG &out OUT_BLE &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_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &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 &bt BT_CLR &bt BT_PRV &bt BT_NXT &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 >; };