-
Notifications
You must be signed in to change notification settings - Fork 690
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
fix(gtk): Fix get scan code in GtkKeyboardInputSource #16671
fix(gtk): Fix get scan code in GtkKeyboardInputSource #16671
Conversation
bd29ba1
to
8ad0fbd
Compare
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-16671/index.html |
1 similar comment
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-16671/index.html |
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-16671/index.html |
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
Thanks for your contribution! |
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-16671/index.html |
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-16671/index.html |
Thank you. |
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Now the GtkKeyboardInputSource will use the InputHelper.TryConvertKeyCodeToScanCode to convert the key code to scan code which will always return false. It means the scan code same as the key code.
What is the new behavior?
The GtkKeyboardInputSource will use the gtk to get the scan code
PR Checklist
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Run
results.Other information
See https://docs.gtk.org/gdk3/method.Event.get_scancode.html
Reference #16670
Origin commit : 98c965a
Cc @ramezgerges
Internal Issue (If applicable):