zmk/app/tests/tap-dance/1c-dn-up-dn-up-dn-up/native_posix.keymap
kurtis-lew 8a4271e2af Rebased Core Files from PR 811
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.
2021-06-11 20:33:23 -07:00

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)
>;
};