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

Added PhysicalKey handling for Android #13006

Merged
merged 1 commit into from
Sep 24, 2023

Conversation

MrJul
Copy link
Member

@MrJul MrJul commented Sep 24, 2023

What does the pull request do?

This PR populates the KeyEventArgs.PhysicalKey (recently added in #12549) for the Android platform.

What is the current behavior?

PhysicalKey is always None on Android.

What is the updated/expected behavior with this PR?

PhysicalKey has a correct value, mapped from the key scan code.
The KeySymbol on Android is also fixed to match the other platforms (it always applied the shift modifier before).

Fixed issues

@avaloniaui-team
Copy link
Contributor

You can test this PR using the following package version. 11.0.999-cibuild0039919-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@maxkatz6 maxkatz6 added this pull request to the merge queue Sep 24, 2023
Merged via the queue into AvaloniaUI:master with commit dd26b6d Sep 24, 2023
5 checks passed
@MrJul MrJul deleted the feature/android-physical-keys branch September 25, 2023 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PhysicalKey handling for Android
3 participants