virtual-joystick-android
virtual-joystick-android copied to clipboard
Multi-touch gestures are not properly handled
The joystick (incorrectly) responds to touch gestures which do not start on it. See gif for example:
(red/blue lines from showing layout bounds)
I'm guessing that this is caused by onTouchEvent not tracking the pointer ID (see Handle multi-touch gestures)
I have a similar issue where the joystick doesn't respond to touch gestures that do start on it after another touch gesture has already begun somewhere else. I'd like to hold a button down to enable the joystick, but because of this problem, that's not possible.
I have a similar issue where the joystick doesn't respond to touch gestures that do start on it after another touch gesture has already begun somewhere else. I'd like to hold a button down to enable the joystick, but because of this problem, that's not possible.
I fixed this by having the joystick ask for focus on MotionEvent.ACTION_DOWN on another View.