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

KeyEventArgs needs to give back the KeyCode #21

Open
lytico opened this issue Feb 28, 2014 · 0 comments
Open

KeyEventArgs needs to give back the KeyCode #21

lytico opened this issue Feb 28, 2014 · 0 comments

Comments

@lytico
Copy link
Owner

lytico commented Feb 28, 2014

there is no chance to get keys not defined in Xwt.Key-enum. So no special charactes can be handled.
Solution:
add long Raw to KeyEventArgs
this contains the keycode catched by the OS.
Gtk:
ushort Gdk.EventKey.HardwareKeycode The raw code of the key that was pressed
gtk.gdk.Keymap — an object containing mappings of keys to key values.
Wpf:
http://stackoverflow.com/questions/5825820/how-to-capture-the-character-on-different-locale-keyboards-in-wpf-c
http://stackoverflow.com/questions/1053210/help-with-the-wpf-textcompositionmanager-events

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

No branches or pull requests

1 participant