I'm new to using the Leap Motion controller and we're using it as an input device with a simple GLUT interface since that it will be used in a wrapper class similar to GLUT. For now I'm using visual studio C++
To start out, I've taken the sample problem code and edited/extended it so that it doesn't print anything but still measures the input of the hands and recognizes gestures. For the purposes of this early implementation I'm only working with the swipe gesture right now to switch between display modes (just changes the shape being displayed), and have disabled the other gestures.
The code is working and running, its just that when i use the swipe gesture to go to the next display mode, it has a habit of jumping through many of the display modes with a single swipe, like its recognizing 1-5 swipes in a single hand movement. This also sometimes causes it to crash with a atioglxx.dll access violation because i don't think the buffer can keep up with it, but i really don't know why it crashes with it.
Is there a way to make sure it only recognizes ONE swipe per gesture instead of the numerous ones it seems to be going through?
Thank you!