ofTheo/ofxLeapMotion

how to uses gestures

estock opened this issue · 5 comments

It appears that gestures are now in place, but how do you use them? a small example or notes in the text would be really helpfull

i will add a tutorial this weekend.

added a simple gesture example.

shouldn't the gesture stuff queue up the gestures?
it seems that a callback event in testApp or a vector of gestures which you could process in update would be the way to go.

i've never done a callback event... but, aren't we processing the gestures in ofxLeapMotion.h updateGestures()? in my example, you just have to check iGestures and do something based on that int value.

i'm happy to re-write if you wouldn't mind linking an example with callback events...?

no worries I'll take a stab at it! :)