refactor(behaviors): Final global-quick-tap deprecation.
This commit is contained in:
parent
2234be0871
commit
11996ff7f0
7 changed files with 12 additions and 9 deletions
|
@ -18,7 +18,7 @@
|
|||
flavor = "tap-preferred";
|
||||
tapping-term-ms = <220>;
|
||||
quick-tap-ms = <150>;
|
||||
global-quick-tap;
|
||||
require-prior-idle-ms = <100>;
|
||||
bindings = <&kp>, <&kp>;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -13,15 +13,18 @@ properties:
|
|||
required: true
|
||||
tapping-term-ms:
|
||||
type: int
|
||||
tapping_term_ms: # deprecated
|
||||
tapping_term_ms:
|
||||
type: int
|
||||
deprecated: true
|
||||
quick-tap-ms:
|
||||
type: int
|
||||
default: -1
|
||||
quick_tap_ms: # deprecated
|
||||
quick_tap_ms:
|
||||
type: int
|
||||
global-quick-tap: # deprecated
|
||||
deprecated: true
|
||||
global-quick-tap:
|
||||
type: boolean
|
||||
deprecated: true
|
||||
require-prior-idle-ms:
|
||||
type: int
|
||||
default: -1
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
ZMK_MOCK_PRESS(1,0,10)
|
||||
ZMK_MOCK_RELEASE(1,0,10)
|
||||
ZMK_MOCK_RELEASE(0,0,400)
|
||||
/* global quick tap */
|
||||
/* require-prior-idle */
|
||||
ZMK_MOCK_PRESS(1,0,10)
|
||||
ZMK_MOCK_PRESS(0,0,400)
|
||||
ZMK_MOCK_RELEASE(1,0,10)
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
ZMK_MOCK_PRESS(1,0,10)
|
||||
ZMK_MOCK_RELEASE(1,0,10)
|
||||
ZMK_MOCK_RELEASE(0,0,400)
|
||||
/* global quick tap */
|
||||
/* require-prior-idle */
|
||||
ZMK_MOCK_PRESS(1,0,10)
|
||||
ZMK_MOCK_PRESS(0,0,400)
|
||||
ZMK_MOCK_RELEASE(1,0,10)
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
ZMK_MOCK_PRESS(1,0,10)
|
||||
ZMK_MOCK_RELEASE(1,0,10)
|
||||
ZMK_MOCK_RELEASE(0,0,400)
|
||||
/* global quick tap */
|
||||
/* require-prior-idle */
|
||||
ZMK_MOCK_PRESS(1,0,10)
|
||||
ZMK_MOCK_PRESS(0,0,400)
|
||||
ZMK_MOCK_RELEASE(1,0,10)
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
ZMK_MOCK_PRESS(1,0,10)
|
||||
ZMK_MOCK_RELEASE(1,0,10)
|
||||
ZMK_MOCK_RELEASE(0,0,400)
|
||||
/* global quick tap */
|
||||
/* require-prior-idle */
|
||||
ZMK_MOCK_PRESS(1,0,10)
|
||||
ZMK_MOCK_PRESS(0,0,400)
|
||||
ZMK_MOCK_RELEASE(1,0,10)
|
||||
|
|
|
@ -58,7 +58,7 @@ For example, the following hold-tap configuration enables `require-prior-idle-ms
|
|||
```
|
||||
rpi: require_prior_idle {
|
||||
compatible = "zmk,behavior-hold-tap";
|
||||
label = "GLOBAL_QUICK_TAP";
|
||||
label = "REQUIRE_PRIOR_IDLE";
|
||||
#binding-cells = <2>;
|
||||
flavor = "tap-preferred";
|
||||
tapping-term-ms = <200>;
|
||||
|
|
Loading…
Add table
Reference in a new issue