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

Include the displayable characters with key events #249

Closed
jdm opened this issue Feb 2, 2015 · 2 comments
Closed

Include the displayable characters with key events #249

jdm opened this issue Feb 2, 2015 · 2 comments

Comments

@jdm
Copy link
Contributor

jdm commented Feb 2, 2015

For example, on OSX we could use https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSEvent_Class/#//apple_ref/occ/instm/NSEvent/charactersIgnoringModifiers (or maybe the characters selector; I'm not certain which is more appropriate).

@jwatt
Copy link

jwatt commented Feb 2, 2015

Note also that the current use of NSEvent::keyCode in src/cocoa/mod.rs appears to be wrong since cocoa and glutin's definitions of 'virtual key' seem to be different:

http://stackoverflow.com/questions/18408565/map-nsevent-keycode-to-virtual-key-code

@tomaka
Copy link
Contributor

tomaka commented Nov 3, 2016

Closing for rust-windowing/winit#34

@tomaka tomaka closed this as completed Nov 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants