I was trying to convert touch gestures to key strokes. This is because I wanted to implement touch capability in my already compiled app.
Here's an example of what I wanted to do:
if(gestureFlags & LEFT_TO_RIGHT)
log("left to right gesture");
The above code suggests the left to right gesture to be logged. However, could anyone suggest a code to interpret the left to right gesture as pressing the right key?
I got the touch gesture code here:
All help is appreciated! Thanks.