Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ


Choose your language

InfoQ Homepage News A DSL for Multi-touch Gestures

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.

Rate this Article


Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p