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.
Educational Content
Writing Usable APIs in Practice
Giovanni Asproni May 19, 2013
Concurrency in Clojure
Stuart Halloway May 17, 2013
Confessions of an Agile Addict
Ole Friis Østergaard May 16, 2013





Hello stranger!
You need to Register an InfoQ account or Login to post comments. But there's so much more behind being registered.Get the most out of the InfoQ experience.
Tell us what you think