zmk icon indicating copy to clipboard operation
zmk copied to clipboard

Zephyr usbip server not compatible with hold-tap behavior

Open manna-harbour opened this issue 3 years ago • 1 comments

The Zephyr usbip server used by the native_posix_64 board does not register a tap if the press is immediately followed by the release. With a delay of 100ms between press and release the events are registered reliably.

The issue does not appear to be in the usbip client as hold-tap works reliably with ZMK over USB and a usbip server on the host.

It could be fixed in the usbip server or in the hold-tap behavior, but fixing the behaviors will support other remote systems, see https://github.com/zmkfirmware/zmk/issues/1443.

manna-harbour avatar Aug 31 '22 11:08 manna-harbour

A work-around is to substitute macros with a delay between press and release in place of &kp in hold tap.

manna-harbour avatar Sep 20 '22 03:09 manna-harbour

Here's a demonstration of this issue: https://github.com/manna-harbour/xmk/discussions/3.

manna-harbour avatar Oct 03 '22 00:10 manna-harbour

A work-around is to substitute macros with a delay between press and release in place of &kp in hold tap.

This has been added as an option to Miryoku ZMK: https://github.com/manna-harbour/miryoku_zmk#tap-delay.

manna-harbour avatar Oct 26 '22 05:10 manna-harbour