Skip to content
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

Add support for sending generated character with key events. #7722

Closed
wants to merge 2 commits into from

Conversation

gspencergoog
Copy link
Contributor

@gspencergoog gspencergoog commented Feb 7, 2019

This adds a "character" key in the key event message that gives the framework the character that was generated as a result of a keypress, including handling combining characters for composed characters.

Also, the "plainCodePoint" is added, which gives the generated Unicode code point as if no modifiers were pressed.

This is needed by the key handling changes for the framework in an upcoming PR.

Submitting this doesn't break anything for existing code (it just sends an extra key that is ignored).

@gspencergoog gspencergoog force-pushed the key_character branch 4 times, most recently from a6c4357 to 3fd4ac2 Compare February 8, 2019 18:18
@cbracken
Copy link
Member

/cc @jason-simmons for review

@cbracken
Copy link
Member

Just noticed #7758. Does that supersede this one?

@gspencergoog
Copy link
Contributor Author

Oh. Yes. Closing this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants