Bug 224 : add note to keyPressed reference re: repeating keys
Last modified: 2005-12-08 12:18




Status:
RESOLVED
Resolution:
FIXED -
Priority:
P2
Severity:
normal

 

Reporter:
fry
Assigned To:
REAS

Attachment Type Created Size Actions

Description:   Opened: 2005-11-26 06:48
Because of how operating systems handle key repeats, holding down a key will cause
multiple calls to keyPressed(), because the OS repeat takes over.

this becomes a frustration when writing code for games.. it's possible that there's a way to
deal with it (maybe some digging on the java games web site) but for the time being, we're
stuck with it.