Switch to one-param version of num-word
This commit is contained in:
parent
2c032d63cb
commit
686ecd11fa
1 changed files with 2 additions and 6 deletions
|
@ -1,4 +1,5 @@
|
||||||
#include <behaviors.dtsi>
|
#include <behaviors.dtsi>
|
||||||
|
#include <behaviors/num_word.dtsi> // requires auto-layer module
|
||||||
#include <dt-bindings/zmk/keys.h>
|
#include <dt-bindings/zmk/keys.h>
|
||||||
#if CONFIG_WIRELESS
|
#if CONFIG_WIRELESS
|
||||||
#include <dt-bindings/zmk/bt.h>
|
#include <dt-bindings/zmk/bt.h>
|
||||||
|
@ -118,12 +119,7 @@ ZMK_HOLD_TAP(smart_num,
|
||||||
)
|
)
|
||||||
ZMK_TAP_DANCE(num_dance,
|
ZMK_TAP_DANCE(num_dance,
|
||||||
tapping-term-ms = <200>;
|
tapping-term-ms = <200>;
|
||||||
bindings = <&num_word>, <&sl NUM>; // reverse this for sticky-num on single tap
|
bindings = <&num_word NUM>, <&sl NUM>; // reverse this for sticky-num on single tap
|
||||||
)
|
|
||||||
ZMK_AUTO_LAYER(num_word,
|
|
||||||
layers = <NUM>;
|
|
||||||
ignore-numbers;
|
|
||||||
continue-list = <BACKSPACE DELETE DOT COMMA PLUS MINUS STAR FSLH EQUAL>;
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// smart-mouse, requires PR #1366
|
// smart-mouse, requires PR #1366
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue