Gesluxe gesture recognizer

sign up sign in

Hello everyone,

I've been working on a gesture recoginzer for Luxe and here is it, Gesluxe. It's basically a copy of Gestouch. It supports the common gestures (swipe, zoom, pan...).

There is a test project in the repository. Here are a couple of screenshots of the demo.

By the way, do you guys create on purpose the TouchEvent.pos with relative values and the MouseEvent.pos with absolute values? For example, if I touch in the middle of the screen (800x480), it fires ontouchup and onmouseup events.

function ontouchup(event:TouchEvent){  
    trace(event.pos); // x: 0.5, y: 0.5

function onmouseup(event:MouseEvent){  
    trace(event.pos); // x: 400, y: 240

Thank you and I hope it'll be useful!