-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
uhid keyboard - combinaison alt+number ascii #4732
Comments
These combinations are specific to Windows, so that's expected (here the key presses occur on Android). On Linux, pressing |
What is strange is when I use the --keyboard=sdk, I can use the combinaison alt+144 (fe), it works. You wrote "here the key presses occur on Android" so it means Android understands the pressed key. Is that right ? |
Sure, with keyboard Run with |
Mettre Verbose, Romain, ça donne ça (t'es bien français ?) : Ça te dit quelque chose ? |
It's the release of the Alt key (all others are captured by scrcpy, unless you disable Alt as a shortcut, with Btw, there is a problem, Alt release is sent, but not Alt press, so this is inconsistent. I'll look into it how to handle it properly and how it should work along with scrcpy shortcuts. IMO Alt should not be sent at all if it's a scrcpy shortcut.
Yes, but please write in English, other people read github issues 😉 |
Ok, thank you for the answer. |
What do you mean by "it does not work"? Alt+144 will never work on Android, this is a Windows combination. |
Answer to your question : as you wrote, I changed the "mod" touch from default lalt to rctrl. The alt+144 didn't work. (I understand your answer : no such touch combinaison in Android) Ok so when I use uhid keyboard (it doesn't appear) for better interface (more comfortable), it is impossible to find É, Ç, œ, È,... ? Do their letters exist on the Android keyboard ? |
I did not find a satisfying way on Android. It is the same problem with real physical keyboards (although I did not test). Ironically, By comparison, on my computer, I have many layouts available for French: (each with different behaviors for AltGr+key) |
I tried with OpenBoard and Gboard. |
Restrict shortcut modifiers to be composed of only one item each. Before, it was possible to select a list of multiple combinations of modifier keys, like --shortcut-mod='lctrl+lalt,rctrl+rsuper', meaning that shortcuts would be triggered either by LCtrl+LAlt+key or RCtrl+RSuper+key. This was overly generic, probably not used very much, and it prevents to solve inconsistencies between UP and DOWN events of modifier keys sent to the device. Refs #4732 <#4732>
Fix proposed in PR #4741 |
Restrict shortcut modifiers to be composed of only one item each. Before, it was possible to select a list of multiple combinations of modifier keys, like --shortcut-mod='lctrl+lalt,rctrl+rsuper', meaning that shortcuts would be triggered either by LCtrl+LAlt+key or RCtrl+RSuper+key. This was overly generic, probably not used very much, and it prevents to solve inconsistencies between UP and DOWN events of modifier keys sent to the device. Refs #4732 <#4732>
I have read the FAQ.
I have searched in existing issues.
OS: Windows 10 pro
scrcpy version: 2.4
installation method: Windows release
device model:A52s Samsung 5G
Android version: 14
I am so greatful for this app. I hope I can contribute to improve this extordinary collaborate app !
The Bug
I discover the 2.4 version. I read about uhid that I tried and it's a great improvement !
But when I try to put the É (alt+144) ascii or may others (alt+128 - Ç), I am desapointed. No character is writen.
However, I would love to keep the keyboard not open each time I have to type words, sentences.
Thank you.
Sébastien
French weird charaters are boring, don't they ? ;-))
The text was updated successfully, but these errors were encountered: