~earboxer/SwipeBehaviors

ref: d31a7482c3e05b87a18a23e55fb04a8c65e98ee5 SwipeBehaviors/README.md -rw-r--r-- 747 bytes
d31a7482Zach DeCook swipeBehaviors: cull unlikely choices with keyboard map 10 months ago

#SwipeBehaviors

SwipeBehaviors is a collection of programs intended to be used in a pipeline to interpret swipes from a virtual keyboard. Programs should not require arguments, and may rely on other programs or files.

wvkbd is one such keyboard, implementing swipe output with the -O flag.

In SXMO, intended usage is by defining KEYBOARD_ARGS="-H 170 -O | swipeB", then copying or sym-linking your favorite behavior to ~/.local/bin/swipeB. Then you can easily switch behavior by changing the link and relaunching the keyboard. WARNING: Installing a broken script can render your virtual keyboard broken. Make sure you have a way of recovery (e.g. SSH or ttyescape) before messing with scripts so you don't end up in a keyboard death-loop.