[android-developers] Key-Press and hold delay, testing on both Xperia and Emulator
I'm using OpenGL to make a game engine.
Using GLSurfaceView, I have an OnKeyPress event which listens to the
hardware input.
The problem is, when I press and hold any button/pad, there is a delay
between the first press, and the rest.
So if I want to make a "Character" to walk, whenever I push and hold
down the DPAD to the north, it stops
walking just before the second step, so it behaves like this:
Help will be much appreciated, I can't find anything on the web!
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home