Updated docs Update behavior_tap_dance.c Addressed comments by @okke-formsma and testing done by @dxmh relating to initial work in PR #811 Prettier'd tap-dance.md Improved clarity Added annotations. Reformatted counter increment. Removed LOG_DBG to reduce clutter in Serial Monitor. Added Tests. Re-added relevant LOG_DBG for tests. Removed non-tap-dance files edited by formatting docs.
15 lines
No EOL
323 B
Text
15 lines
No EOL
323 B
Text
#include <dt-bindings/zmk/keys.h>
|
|
#include <behaviors.dtsi>
|
|
#include <dt-bindings/zmk/kscan_mock.h>
|
|
#include "../behavior_keymap.dtsi"
|
|
|
|
&kscan {
|
|
events = <
|
|
ZMK_MOCK_PRESS(0,0,10)
|
|
ZMK_MOCK_RELEASE(0,0,10)
|
|
ZMK_MOCK_PRESS(0,0,10)
|
|
ZMK_MOCK_RELEASE(0,0,10)
|
|
ZMK_MOCK_PRESS(0,0,10)
|
|
ZMK_MOCK_RELEASE(0,0,200)
|
|
>;
|
|
}; |