FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 224 : add note to keyPressed reference re: repeating keys
Last modified: 2005-12-08 12:18
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
FIXED -
Pr
i
ority:
P2
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
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.