forked from kofal.net/zmk
refactor: Replace tabs with spaces
Standardized indentation to use spaces with a new pre-commit hook.
This commit is contained in:
committed by
Pete Johanson
parent
32ae776c42
commit
94061bb916
@@ -9,60 +9,60 @@
|
||||
#include <dt-bindings/zmk/kscan_mock.h>
|
||||
|
||||
/ {
|
||||
macros {
|
||||
ZMK_MACRO(abc_macro,
|
||||
wait-ms = <10>;
|
||||
tap-ms = <50>;
|
||||
bindings = <&kp A &kp B &kp C>;
|
||||
)
|
||||
macros {
|
||||
ZMK_MACRO(abc_macro,
|
||||
wait-ms = <10>;
|
||||
tap-ms = <50>;
|
||||
bindings = <&kp A &kp B &kp C>;
|
||||
)
|
||||
|
||||
ZMK_MACRO(hold_shift_macro,
|
||||
bindings
|
||||
= <¯o_press &kp LSHFT>
|
||||
, <¯o_tap>
|
||||
, <&kp D &kp O &kp G>
|
||||
, <¯o_release &kp LSHFT>
|
||||
;
|
||||
)
|
||||
ZMK_MACRO(hold_shift_macro,
|
||||
bindings
|
||||
= <¯o_press &kp LSHFT>
|
||||
, <¯o_tap>
|
||||
, <&kp D &kp O &kp G>
|
||||
, <¯o_release &kp LSHFT>
|
||||
;
|
||||
)
|
||||
|
||||
ZMK_MACRO(custom_timing,
|
||||
bindings
|
||||
= <¯o_wait_time 50>
|
||||
, <&kp A>
|
||||
, <¯o_tap_time 20>
|
||||
, <&kp B &kp C>
|
||||
;
|
||||
)
|
||||
ZMK_MACRO(custom_timing,
|
||||
bindings
|
||||
= <¯o_wait_time 50>
|
||||
, <&kp A>
|
||||
, <¯o_tap_time 20>
|
||||
, <&kp B &kp C>
|
||||
;
|
||||
)
|
||||
|
||||
ZMK_MACRO(dual_sequence_macro,
|
||||
wait-ms = <10>;
|
||||
tap-ms = <40>;
|
||||
bindings
|
||||
= <¯o_press &kp LALT>
|
||||
, <¯o_tap>
|
||||
, <&kp TAB>
|
||||
, <¯o_pause_for_release>
|
||||
, <¯o_release &kp LALT>
|
||||
;
|
||||
)
|
||||
};
|
||||
ZMK_MACRO(dual_sequence_macro,
|
||||
wait-ms = <10>;
|
||||
tap-ms = <40>;
|
||||
bindings
|
||||
= <¯o_press &kp LALT>
|
||||
, <¯o_tap>
|
||||
, <&kp TAB>
|
||||
, <¯o_pause_for_release>
|
||||
, <¯o_release &kp LALT>
|
||||
;
|
||||
)
|
||||
};
|
||||
|
||||
keymap {
|
||||
compatible = "zmk,keymap";
|
||||
label ="Default keymap";
|
||||
keymap {
|
||||
compatible = "zmk,keymap";
|
||||
label ="Default keymap";
|
||||
|
||||
default_layer {
|
||||
bindings = <
|
||||
&abc_macro &mo 1
|
||||
&hold_shift_macro &custom_timing>;
|
||||
};
|
||||
default_layer {
|
||||
bindings = <
|
||||
&abc_macro &mo 1
|
||||
&hold_shift_macro &custom_timing>;
|
||||
};
|
||||
|
||||
extra_layer {
|
||||
bindings = <
|
||||
&dual_sequence_macro &trans
|
||||
&kp TAB &none>;
|
||||
extra_layer {
|
||||
bindings = <
|
||||
&dual_sequence_macro &trans
|
||||
&kp TAB &none>;
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user