Stylus apps support handwritten gestures for common actions by providing a mode to distinguish strokes from gestures. However, mode switching can create friction. Moreover, attempting to reduce friction by eliminating the mode switch can lead to gestures being triggered unintentionally, unreliably, or unpredictably. This disclosure describes techniques that reliably disambiguate strokes from gestures in stylus apps without mode switching and without the use of complex patterns to represent gestures. Per the techniques, a trace drawn on the touchscreen is initialized to a state in between a stroke and a gesture. The next action of the user determines the final state of whether a trace is classified as stroke or gesture. The classification of trace into stroke or gesture is quick such that the user can alternate strokes and gestures while the app seamlessly and accurately disambiguates between them.

Creative Commons License

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.