forked from kofal.net/zmk
feat: Add WPM calculator and display widget
This commit is contained in:
committed by
Pete Johanson
parent
c0cab57c2d
commit
a4aaa73f06
15
app/tests/wpm/2-multiple_keypress/native_posix.keymap
Normal file
15
app/tests/wpm/2-multiple_keypress/native_posix.keymap
Normal file
@@ -0,0 +1,15 @@
|
||||
#include "../behavior_keymap.dtsi"
|
||||
|
||||
&kscan {
|
||||
events = <
|
||||
ZMK_MOCK_PRESS(0,0,10)
|
||||
ZMK_MOCK_RELEASE(0,0,10)
|
||||
//1st WPM worker call - 12wpm - 1 key press in 1 second
|
||||
ZMK_MOCK_PRESS(0,0,1000)
|
||||
ZMK_MOCK_RELEASE(0,0,10)
|
||||
// 2nd WPM worker call - 12wpm - 2 key press in 2 second
|
||||
// note there is no event for this as WPM hasn't changed
|
||||
// 3rd WPM worker call - 8wpm - 2 key press in 3 seconds
|
||||
ZMK_MOCK_PRESS(0,0,2000)
|
||||
>;
|
||||
};
|
||||
Reference in New Issue
Block a user