Skip to content

change mod/set hardware Search key for OTG mode #2987

Open
@elig0n

Description

@elig0n

Describe the bug
Although mod key shortcuts aren't supposed to work in OTG mode, it is still possible to use android's hardware keyboard shortcuts for basic usage of-which most are using the SEARCH button as a modifier for combinations.

For me it appears that that key is the super/win key and while combinations done with it give rise to no problems so far using the key alone (as in a single press) for its Search/Assistant application cannot and does not work because it already serves to detach the mouse-keyboard capture in scrcpy.

A possible solution can be to set either the hardware Search key or alternatively map the detach functionality from Super to something else (I have already tried the --shortcut-mod option unsuccessfully).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions