Browse Source

fix(test): use a smaller value for mock key intervals

xmkb
Cody McGinnis 4 years ago
parent
commit
de92bf2b2d
  1. 2
      app/tests/keypress/cp-press-release/native_posix.keymap
  2. 2
      app/tests/keypress/kp-press-release/native_posix.keymap
  3. 2
      app/tests/momentary-layer/early-key-release/native_posix.keymap
  4. 2
      app/tests/momentary-layer/normal/native_posix.keymap

2
app/tests/keypress/cp-press-release/native_posix.keymap

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
#include "../behavior_keymap.dtsi"
&kscan {
events = <ZMK_MOCK_PRESS(0,1,300) ZMK_MOCK_PRESS(0,0,300) ZMK_MOCK_RELEASE(0,0,300) ZMK_MOCK_RELEASE(0,1,300)>;
events = <ZMK_MOCK_PRESS(0,1,10) ZMK_MOCK_PRESS(0,0,10) ZMK_MOCK_RELEASE(0,0,10) ZMK_MOCK_RELEASE(0,1,10)>;
};

2
app/tests/keypress/kp-press-release/native_posix.keymap

@ -4,5 +4,5 @@ @@ -4,5 +4,5 @@
#include "../behavior_keymap.dtsi"
&kscan {
events = <ZMK_MOCK_PRESS(0,1,300) ZMK_MOCK_PRESS(0,0,300) ZMK_MOCK_RELEASE(0,0,300) ZMK_MOCK_RELEASE(0,1,300)>;
events = <ZMK_MOCK_PRESS(0,1,10) ZMK_MOCK_PRESS(0,0,10) ZMK_MOCK_RELEASE(0,0,10) ZMK_MOCK_RELEASE(0,1,10)>;
};

2
app/tests/momentary-layer/early-key-release/native_posix.keymap

@ -4,5 +4,5 @@ @@ -4,5 +4,5 @@
#include "../behavior_keymap.dtsi"
&kscan {
events = <ZMK_MOCK_PRESS(0,0,0) ZMK_MOCK_PRESS(0,1,100) ZMK_MOCK_RELEASE(0,0,200) ZMK_MOCK_RELEASE(0,1,300)>;
events = <ZMK_MOCK_PRESS(0,0,10) ZMK_MOCK_PRESS(0,1,10) ZMK_MOCK_RELEASE(0,0,10) ZMK_MOCK_RELEASE(0,1,10)>;
};

2
app/tests/momentary-layer/normal/native_posix.keymap

@ -4,5 +4,5 @@ @@ -4,5 +4,5 @@
#include "../behavior_keymap.dtsi"
&kscan {
events = <ZMK_MOCK_PRESS(0,1,0) ZMK_MOCK_PRESS(0,0,100) ZMK_MOCK_RELEASE(0,0,200) ZMK_MOCK_RELEASE(0,1,300)>;
events = <ZMK_MOCK_PRESS(0,1,10) ZMK_MOCK_PRESS(0,0,10) ZMK_MOCK_RELEASE(0,0,10) ZMK_MOCK_RELEASE(0,1,10)>;
};
Loading…
Cancel
Save