private void processGestures(Controller controller) {
GestureList list = controller.frame().gestures();
if (list.empty() == false) {
for (int i = 0; i < list.count(); i++) {
Gesture gesture = list.get(i);
invokeCallback(gesture);
// printGestureDetails(gesture, controller);
}
}
}