A DSL for Multi-touch Gestures
As part of the TouchToolkit, Frank Maurer and Shahedul Huq Khandkar have created a DSL for multi-touch gestures. The language is in a declarative style with two sections. The first section, labeled “validate”, contains the rules used to determine if a specific gesture is being performed. The second section contains the return values for the gesture. Below is an example from the predefined list of gestures.
Also included in this CTP of TouchToolkit:
- Supports Windows 7/WPF 4.0 Touch API, Microsoft Surface, Silverlight and TUIO
- A record/replay module to simplify multi-touch testing and simulate multi-user scenarios
- A test framework to write unit test for testing gestures (integrated with Visual Studio Test)
- A visual effects framework to provide consistent visual feedback for touch interactions & gestures
Shahedul Huq Khandkar is planning on explaining features in more detail on his blog. The TouchToolkit is released GNU Library General Public License, also known as the Lesser GPL.
York Xyander, Bodo Junglas Jul 31, 2015