Hi,
In my BehaviorDelegate, I "map" the swipe left input to the onSelect behavior:
class MyDelegateDelegate extends BehaviorDelegate { public function onSwipe( swipeEvent ) { if( swipeEvent.getDirection() == SWIPE_LEFT ) { return onSelect(); } return false; } public function onSelect() as Boolean { // Action } }
This works in the simulator for my Epix Pro Gen2, but not on the real device.
Other swipe gestures that are automatically tied to behaviors work on the device, like swipe up/down to trigger onNextPage()/onPreviousPage() or swipe right for onBack().
When I swipe left with the clicked mouse in the simulator, the onSelect() is triggered correctly. On the device instead onNextPage() or onPreviousPage() is triggered.
What could I be doing wrong?