Skip to content

[Feature Request] Support emulation of the local keyboard layout in OTG mode. #6757

@levirak

Description

@levirak

Is your feature request related to a problem? Please describe.
I have an old KaiOS (based on very old Android) phone that I'd appreciate being able to use a keyboard with, because it's own input is atrocious. Unfortunately, I type Dvorak, and the device doesn't officially support external keyboards, so I can't remap its default QWERTY input.

Describe the solution you'd like
I'd like a way to use my computer's keyboard layout while typing (in OTG mode) on a phone whose keyboard I can't remap. I think the right way to do that is to send the needed QWERTY keystrokes to emulate my Dvorak layout.

Describe alternatives you've considered
The phone in question is a very old Android version, limiting what ADB can achieve. OTG mode is the only way I've been able to type on it at all.

Additional context
It finally occurred to me that PRs aren't the place for discussions, so this feature request comes with a PR (#6748) with a proposed implementation. This may be a "me and only me" problem, however, so it's not even obvious that scrcpy should adopt this feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions