hiteshsuthar / rokon

Automatically exported from code.google.com/p/rokon
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Strange behavior with RokonActivity.onTouch and trackball #36

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Using the data got in method RokonActivity.onTouch in your app
2. Touching the screen (e.g. moving an object on it)
3. Pressing/scrolling the trackball

What is the expected output?
Pressing and scrolling trackball shouldn't affect the independent screen 
touch detection.

What do you see instead?
Whenever I press or scroll the trackball, the engine spawns a touch event 
at [0,0] ruining my whole game controls.

What version of Rokon are you using?
SVN trunk r83 and from what I can remember, this was occuring even in the 
previous 1.0.2 release.

On which version of Android are you experiencing this?
Android 1.6 - running on CyanogenMod ROM v4.2.10.1 on G1.

Please provide any additional information below.
Could be seen also in the Example4 (touch and keyboard input). I wasn't 
able to confirm this to (not) work in the emulator or on other devices too 
as the emulator doesn't have a trackball and at this time I own only the 
G1.

Original issue reported on code.google.com by reddra...@gmail.com on 1 Jan 2010 at 4:25

GoogleCodeExporter commented 8 years ago
I'm not entirely sure why this is happening... but you're right. Moving the 
trackball 
seems to fire off an ACTION_MOVE at [0,0] only when the screen is being touched.

Does anyone know what we are doing wrong, could this be an Android bug?

Original comment by rtaylor205@gmail.com on 1 Jan 2010 at 7:34

GoogleCodeExporter commented 8 years ago
Rokon 2 is on the way, all current Issues are obsolete

Original comment by rtaylor205@gmail.com on 24 May 2010 at 3:31