Merge branch 'main' of https://github.com/losttenko/hummingbird-zmk-config
This commit is contained in:
commit
41aa5a99e9
2 changed files with 64 additions and 0 deletions
20
config/general.dtsi
Normal file
20
config/general.dtsi
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#include <behaviors.dtsi>
|
||||
#include <dt-bindings/zmk/keys.h>
|
||||
#include <dt-bindings/zmk/bt.h>
|
||||
|
||||
|
||||
/* Layers */
|
||||
#define DEF_L 0
|
||||
#define NAV_L 1
|
||||
#define UPP_L 2
|
||||
#define SYM_L 3
|
||||
#define NUM_L 4
|
||||
|
||||
/* Behavior Settings */
|
||||
&caps_word {
|
||||
continue-list = <UNDERSCORE MINUS BACKSPACE>;
|
||||
};
|
||||
|
||||
&sk {
|
||||
release-after-ms = <60000>;
|
||||
};
|
||||
44
config/macros.dtsi
Normal file
44
config/macros.dtsi
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
ZMK_MACRO(mo_nav,
|
||||
wait-ms = <0>;
|
||||
tap-ms = <0>;
|
||||
bindings
|
||||
= <¯o_tap &kp K_CANCEL>
|
||||
, <¯o_press &mo NAV_L>
|
||||
, <¯o_pause_for_release>
|
||||
, <¯o_release &mo NAV_L>;)
|
||||
|
||||
ZMK_MACRO(mo_upp,
|
||||
wait-ms = <0>;
|
||||
tap-ms = <0>;
|
||||
bindings
|
||||
= <¯o_tap &kp K_CANCEL>
|
||||
, <¯o_press &mo UPP_L>
|
||||
, <¯o_pause_for_release>
|
||||
, <¯o_release &mo UPP_L>;)
|
||||
|
||||
ZMK_MACRO(mo_sym,
|
||||
wait-ms = <0>;
|
||||
tap-ms = <0>;
|
||||
bindings
|
||||
= <¯o_tap &kp K_CANCEL>
|
||||
, <¯o_press &mo SYM_L>
|
||||
, <¯o_pause_for_release>
|
||||
, <¯o_release &mo SYM_L>;)
|
||||
|
||||
ZMK_MACRO(leq,
|
||||
wait-ms = <30>;
|
||||
tap-ms = <40>;
|
||||
bindings = <&kp LT &kp EQUAL>;
|
||||
)
|
||||
|
||||
ZMK_MACRO(eq,
|
||||
wait-ms = <30>;
|
||||
tap-ms = <40>;
|
||||
bindings = <&kp EQUAL &kp EQUAL>;
|
||||
)
|
||||
|
||||
ZMK_MACRO(geq,
|
||||
wait-ms = <30>;
|
||||
tap-ms = <40>;
|
||||
bindings = <&kp GT &kp EQUAL>;
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue