Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
112.55k stars 10.76k forks source link

Some special characters (e.g., the "@" sign) aren't sent #5436

Open phonon112358 opened 3 weeks ago

phonon112358 commented 3 weeks ago

Environment

Describe the bug

scrcpy is a really awesome piece of software! I use it almost daily.

However, when I type @ or ~ into scrcpy, nothing happens, i.e., these special characters are not sent to my phone. Especially, when I want to enter my email address, this is extremely annoying.

I use a german keyboard (if that should be relevant). All other special characters that I tried, are sent, @and ~don't work. Perhaps, there are other special characters that I haven't tried yet which also don't work...

Is there any workaround for that already? Or is it a real bug?

Steps to Reproduce the Issue

Expected Behaviour

@ (or ~) gets written to the text field of the app.

Actual Behaviour

Nothing happens.

rom1v commented 3 weeks ago

Use a UHID keyboard: https://github.com/Genymobile/scrcpy/blob/master/doc/keyboard.md

@ is expected to work with the default SDK keyboard, though. Maybe --prefer-text can help.