-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
keyPressed not returning false once a key is released #5033
Comments
Ouch, a dumb typo caused that one. Fixed for 3.3.3. (Caused by the attempt to fix #4993) |
This bug is still there in 3.3.3
mac 10.11.5 (el captain) |
Not fixed in 3.3.3 for me either, macOS Sierra 10.12.4 |
Another problem was found, which will be fixed in 3.3.4: #5049 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Issue description
using the keyPressed boolean call (https://processing.org/reference/keyPressed.html), the value keeps being true once pressed, even after release.
for instance:
if (keyPressed) {
// some code
}
then never leaves the if statement when the key is released.
The text was updated successfully, but these errors were encountered: