-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Replaced deprecated keyCode functionality and docs with KeyboardEvent.code & KeyboardEvent.key also updates the keyIsDown function to accept alphanumerics as parameters #7472
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
dd458c0
changed keyboard.js and added the updated objects in costants.js file
Vaivaswat2244 bcbed0f
fixed the repeat key issue in onkeyup
Vaivaswat2244 c42bb7e
updated keyIsDown() to work with characters as arguments
Vaivaswat2244 5709aac
fixed dillema of code/key and added isCode()
Vaivaswat2244 0ce4e89
added tests for isCode and small changes
Vaivaswat2244 9cfef5a
Merge branch 'dev-2.0' into dev-2.0
Vaivaswat2244 e0c4a31
minor changes for single digit input
Vaivaswat2244 ad5ae5b
Merge branch 'dev-2.0' of https://github.com/Vaivaswat2244/p5.js into…
Vaivaswat2244 805a5c9
Merge branch 'dev-2.0' into dev-2.0
Vaivaswat2244 6d0c0ea
isCode updated with tests
Vaivaswat2244 e01add6
Merge branch 'dev-2.0' of https://github.com/Vaivaswat2244/p5.js into…
Vaivaswat2244 e3fc37c
fix earlier mistake in inCode
Vaivaswat2244 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.