-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
Labels
Description
Increasing access
This would make it easier than having to maintain two separate key state systems
Most appropriate sub-area of p5.js?
- Accessibility
- Color
- Core/Environment/Rendering
- Data
- DOM
- Events
- Image
- IO
- Math
- Typography
- Utilities
- WebGL
- Build process
- Unit testing
- Internationalization
- Friendly errors
- Other (specify if possible)
Feature enhancement details
Now that keyIsPressed in p5js 2.+ is immutable we need to track which key is released (aka keyUp events).
Not sure if this is a regression from v1.0?
Can we add a keyIsUp(code: number|string) function to prevent having to constantly write custom keyState tracking logic?
Reactions are currently unavailable