My Java version of Gundam suffers from sticky key syndrome. e.g. if you hold down the right cursor key and take you finger off, Gundam continues to travel right (until you tap the right cursor key). It's like the Key Up event is being missed.
I believe it is to do with how SWT handles key repeats, but I can't find any info on how to handle / ignore it. If anyone is able to guide me towards the right documentation, it'd be much appreciated.
SlimerDude Mon 6 Aug 2012
My Java version of Gundam suffers from sticky key syndrome. e.g. if you hold down the right cursor key and take you finger off, Gundam continues to travel right (until you tap the right cursor key). It's like the Key Up event is being missed.
I believe it is to do with how SWT handles key repeats, but I can't find any info on how to handle / ignore it. If anyone is able to guide me towards the right documentation, it'd be much appreciated.
SlimerDude Tue 7 Aug 2012
Hmm... it appears to be a very old SWT bug:
Stackoverflow : Why isn't key released event sent when two keys are pressed?
Eclipse : Bug 50020 - KeyReleased not working correctly.