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

Invalid key mapping with azerty keyboard and ctrl modifier #2049

Closed
latop2604 opened this issue Oct 29, 2018 · 2 comments · Fixed by #12549
Closed

Invalid key mapping with azerty keyboard and ctrl modifier #2049

latop2604 opened this issue Oct 29, 2018 · 2 comments · Fixed by #12549

Comments

@latop2604
Copy link

With latest prerelease package (0.7.0-build429-beta), on OSX, when I press Ctrl+A, Key_Up event (or other key events) send me an Avalonia.InputKeyEventArgs.Key == Avalonia.Input.Key.Q

Common shortcut like undo/redo (ctrl+z/ctrl+y) are also map on querty schema instead of azerty.

But inside a textbox the mapping is correct.

@grokys
Copy link
Member

grokys commented Mar 2, 2019

@danwalmsley is this still a problem?

@Energizer188
Copy link

Energizer188 commented Nov 8, 2022

Hey there,
I'm experiencing kind of the same problem on v. 0.10.18.
My keyboard is an azerty one. When I run my app on Windows the mapping is correct, but when I run it on mac it maps like a qwerty (so my A key raises a Q key pressed event for example).

Any idea on how to make it work correctly?

Edit: it works correctly in a textbox, even on Mac (A key writes a 'a' in the textbox, although it raises a Q pressed event). But in my case I need the keys for KeyBindings so the wrong mapping is a problem

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

Successfully merging a pull request may close this issue.

3 participants