A "quick and dirty" (script compatible) way to read touch gestures is by tailing the Xorg log file. It works surprisingly well. Purists can look elsewhere. The problem is that it stops logging when you pause the framework, and if you leave the framework active but capture the touchscreen device in your native mode app the gesture engine gets locked out. So you end up doing your own native mode gesture recognition (which is not all that hard).
|