diff --git a/config/splitkb_aurora_sweep.conf b/config/splitkb_aurora_sweep.conf index bb2b843..cdaeeff 100644 --- a/config/splitkb_aurora_sweep.conf +++ b/config/splitkb_aurora_sweep.conf @@ -1,9 +1,3 @@ -# Uncomment these two line to add support for encoders to your firmware -# CONFIG_EC11=y -# CONFIG_EC11_TRIGGER_GLOBAL_THREAD=y - -# Uncomment the following line to enable the Kyria OLED Display -# CONFIG_ZMK_DISPLAY=y - -# Uncomment the following lines to enable RGB underglow -# CONFIG_ZMK_RGB_UNDERGLOW=y +# Set sleep timeout to 30min (30*60*1000ms) +CONFIG_ZMK_SLEEP=y +CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=1800000 diff --git a/config/splitkb_aurora_sweep.keymap b/config/splitkb_aurora_sweep.keymap index 071a9e7..767b302 100644 --- a/config/splitkb_aurora_sweep.keymap +++ b/config/splitkb_aurora_sweep.keymap @@ -8,11 +8,32 @@ #include #include #include "zmk-helpers/helper.h" + #include "34_labels.h" #include "italian_keys.h" #include "combos.dtsi" +#define DEF 0 +#define NAV 1 +#define NUM 2 + +#define XXX &none +#define ___ &trans + +#define QUICK_TAP_MS 200 + +// Wakeup Sources +/ { + kscan: kscan { + compatible = "zmk,kscan-gpio-matrix"; + diode-direction = "col2row"; + wakeup-source; + + ... + }; +}; + ZMK_LAYER(base, // ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P @@ -21,6 +42,6 @@ ZMK_LAYER(base, // ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp IT_SLASH // ╰─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────╯ - &none &kp SPACE &kp BSPC &none + XXX &kp SPACE &kp BSPC XXX // ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯ )