Skip to content

Commit

Permalink
colon combo, ht pref, soft off
Browse files Browse the repository at this point in the history
  • Loading branch information
pirey committed Sep 4, 2024
1 parent 5c54468 commit 8e73910
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 98 deletions.
5 changes: 3 additions & 2 deletions config/corne.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ CONFIG_ZMK_DISPLAY=y
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y

CONFIG_ZMK_IDLE_TIMEOUT=180000
CONFIG_ZMK_SLEEP=y
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=900000
# CONFIG_ZMK_SLEEP=y # deep sleep
# CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=900000 # deep sleep timeout
CONFIG_ZMK_PM_SOFT_OFF=y
103 changes: 7 additions & 96 deletions config/corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@
#include <dt-bindings/zmk/keys.h>

&mt {
tapping-term-ms = <200>;
quick-tap-ms = <175>;
require-prior-idle-ms = <150>;
flavor = "balanced";
};

&lt { tapping-term-ms = <200>; };
Expand All @@ -21,106 +19,19 @@
combos {
compatible = "zmk,combos";

combo_esc {
timeout-ms = <50>;
key-positions = <1 2>;
bindings = <&kp ESCAPE>;
};

combo_bksp {
timeout-ms = <50>;
key-positions = <10 9>;
bindings = <&kp BACKSPACE>;
};

combo_tab {
bindings = <&kp TAB>;
key-positions = <13 14>;
};

combo_shift {
bindings = <&kp LEFT_SHIFT>;
key-positions = <25 26>;
};

combo_delete {
bindings = <&kp DELETE>;
key-positions = <21 22>;
};

combo_rshift {
bindings = <&kp RIGHT_SHIFT>;
key-positions = <33 34>;
};

exclm {
bindings = <&kp EXCLAMATION>;
key-positions = <1 13>;
};

at {
bindings = <&kp AT_SIGN>;
key-positions = <2 14>;
};

hash {
bindings = <&kp HASH>;
key-positions = <3 15>;
};

dllr {
bindings = <&kp DOLLAR>;
key-positions = <4 16>;
};

percnt {
bindings = <&kp PERCENT>;
key-positions = <5 17>;
};

caret {
bindings = <&kp CARET>;
key-positions = <6 18>;
};

and {
bindings = <&kp AMPERSAND>;
key-positions = <7 19>;
};

str {
bindings = <&kp ASTERISK>;
key-positions = <8 20>;
};

leftparen {
bindings = <&kp LPAR>;
key-positions = <9 21>;
};

rparen {
bindings = <&kp RPAR>;
key-positions = <10 22>;
};

layout_switch {
bindings = <&tog 0>;
key-positions = <36 37 40 41>;
};

system_reset {
bindings = <&sys_reset>;
key-positions = <3 4 5>;
};

bootloader {
bindings = <&bootloader>;
key-positions = <15 16 17>;
};

system_layer_combo {
bindings = <&mo 0>;
key-positions = <36 37>;
combo_colon {
bindings = <&kp COLON>;
key-positions = <32 33>;
};
};

Expand Down Expand Up @@ -158,10 +69,10 @@

sys_layer {
bindings = <
&trans &trans &trans &bt BT_PRV &bt BT_NXT &trans &none &trans &trans &trans &soft_off &trans
&trans &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &trans &none &none &none &none &trans
&trans &bootloader &sys_reset &none &bt BT_CLR &bt BT_CLR_ALL &none &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans
&trans &bt BT_DISC 0 &bt BT_DISC 1 &bt BT_DISC 2 &bt BT_DISC 3 &bt BT_DISC 4 &none &trans &trans &trans &soft_off &trans
&trans &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &trans &none &none &none &none &trans
&trans &bootloader &sys_reset &none &bt BT_CLR &bt BT_CLR_ALL &none &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans
>;
};
};
Expand Down
Binary file modified sys_layer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8e73910

Please sign in to comment.