I have a small game which uses arrow keys. However if I press the arrow keys within a timeout window of say 200ms, the timeout starting from the first key press, how do I capture all the keys pressed using keyListener?
Asked
Active
Viewed 64 times
0
-
1this propertry is controled by Native OS, there are repeatly fired pressed and released, solution is usage of KeyBindings (required usage of Swing) – mKorbel May 06 '14 at 13:29
-
1See [this](http://stackoverflow.com/questions/22741215/how-to-use-key-bindings-instead-of-key-listeners) for example. There are other posts about this too. – user1803551 May 06 '14 at 14:29