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
Hi, I'm trying to run DeX through scrcpy, and I mostly have it working, but I'm having keyboard-related issues. Under the default settings, keyboard input works fine, except for two problems: Firstly, the super/windows key isn't forwarded (this is annoying because this key is used by DeX), and secondly, the on-screen-keyboard won't go away because my phone is NOT detecting a physical keyboard present despite my typing.
I read the Keyboard guide and decided to try uhid mode with --keyboard=uhid and/or the -K option... When I enable this, a physical keyboard is detected by DeX and my second problem of the above is solved, OSK disappears. But now no matter which key I press, nothing happens. No input is forwarded at all!
The text was updated successfully, but these errors were encountered:
After testing with a normal screen mirror (no extra options to scrcpy besides -K), it worked... UHID mouse mode works too. Then when I went back to my usual options, UHID works in DeX too... That's super weird, even today it wasn't working until then. Maybe the normal screen mirror without display-id option somehow triggered UHID into life? As for AOA, it seems to work too but I can't screen mirror while using it, so it wouldn't be very useful to me.
Additionally adding --shortcut-mod=rctrl or similar seems to forward the Super key! I didn't know about that keybinding. It seems that Windows still also processes the keypress so every time you press the key it opens the Start menu, which is a bit annoying, but it still gets forwarded if the scrcpy window is in focus.
Environment
Describe the bug
Hi, I'm trying to run DeX through scrcpy, and I mostly have it working, but I'm having keyboard-related issues. Under the default settings, keyboard input works fine, except for two problems: Firstly, the super/windows key isn't forwarded (this is annoying because this key is used by DeX), and secondly, the on-screen-keyboard won't go away because my phone is NOT detecting a physical keyboard present despite my typing.
I read the Keyboard guide and decided to try uhid mode with
--keyboard=uhid
and/or the-K
option... When I enable this, a physical keyboard is detected by DeX and my second problem of the above is solved, OSK disappears. But now no matter which key I press, nothing happens. No input is forwarded at all!The text was updated successfully, but these errors were encountered: