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

This commit is contained in:
Cody McGinnis 2020-08-28 16:21:31 -04:00
parent f1224422c5
commit de92bf2b2d
4 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
#include "../behavior_keymap.dtsi" #include "../behavior_keymap.dtsi"
&kscan { &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)>;
}; };

View file

@ -4,5 +4,5 @@
#include "../behavior_keymap.dtsi" #include "../behavior_keymap.dtsi"
&kscan { &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)>;
}; };

View file

@ -4,5 +4,5 @@
#include "../behavior_keymap.dtsi" #include "../behavior_keymap.dtsi"
&kscan { &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)>;
}; };

View file

@ -4,5 +4,5 @@
#include "../behavior_keymap.dtsi" #include "../behavior_keymap.dtsi"
&kscan { &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)>;
}; };