yhhik / java-fighting-game-engine

Automatically exported from code.google.com/p/java-fighting-game-engine
0 stars 0 forks source link

Avoid keyboard auto repeat in j2se keyboard controllers #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Many Linux distributions are configured with autorepeat in the xorg 
configuration. With autorepeat enabled the x-server repetitive fires key 
pressed and key released events to the api which disrupts the fighter handling. 

What is the expected output? What do you see instead?

When controlling the fighter in the arena it should be possible to see the walk 
left and walk right animations. Instead the animation blocks while moving the 
fighter left or right.

Please use labels and text to provide additional information.

While holding a keyboard key a series of key pressed and released a fired which 
makes it necessary to detect the real key released event. This is the case when 
two key released events in series are detected.

Original issue reported on code.google.com by hannes.b...@gmail.com on 27 May 2011 at 3:10

GoogleCodeExporter commented 8 years ago

Original comment by hannes.b...@gmail.com on 27 May 2011 at 3:43

GoogleCodeExporter commented 8 years ago

Original comment by hannes.b...@gmail.com on 2 Jun 2011 at 5:17

GoogleCodeExporter commented 8 years ago

Original comment by hannes.b...@gmail.com on 2 Jun 2011 at 5:28