You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.
The keydown and keyup handlers provide translated characters. For example, if I press the b key, then I get an event with KeyEventArgs.Key == 'b', and KeyEventArgs.NativeKeyCode == 45.
However, if I switch my keyboard to Dvorak and press the exact same key, I get KeyEventArgs.Key == 'x' and KeyEventArgs.NativeKeyCode == 67.
It is understandable that the Key changes, because the layout has changed. However, the NativeKeyCode should remain the same. Failing that, an additional property with the scancode should be added.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The keydown and keyup handlers provide translated characters. For example, if I press the
b
key, then I get an event withKeyEventArgs.Key == 'b'
, andKeyEventArgs.NativeKeyCode == 45
.However, if I switch my keyboard to Dvorak and press the exact same key, I get
KeyEventArgs.Key == 'x'
andKeyEventArgs.NativeKeyCode == 67
.It is understandable that the Key changes, because the layout has changed. However, the NativeKeyCode should remain the same. Failing that, an additional property with the scancode should be added.
The text was updated successfully, but these errors were encountered: