virtual-joystick-android icon indicating copy to clipboard operation
virtual-joystick-android copied to clipboard

Multi-touch gestures are not properly handled

Open ralismark opened this issue 6 years ago • 2 comments

The joystick (incorrectly) responds to touch gestures which do not start on it. See gif for example:

multi-touch

(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)

ralismark avatar Jan 03 '19 09:01 ralismark

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.

RBOrtmann avatar Jul 16 '19 15:07 RBOrtmann

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.

RBOrtmann avatar Jul 26 '19 18:07 RBOrtmann