Tap gesture buttons were missing names and the progress axis was outdated.
string GestureDetector::get_button_name(unsigned btn) const
{
- if(btn==GESTURE_DRAG)
+ if(btn==GESTURE_TAP)
+ return "Tap";
+ else if(btn==GESTURE_TAP_2)
+ return "Two-finger tap";
+ else if(btn==GESTURE_DRAG)
return "Drag";
else if(btn==GESTURE_DRAG_2)
return "Two-finger drag";
else if(axis==1)
return "Y";
else if(axis==2)
- return "Progress";
+ return "Delta X";
+ else if(axis==3)
+ return "Delta Y";
else
return Device::get_axis_name(axis);
}