AdvancedSharpAdbClient icon indicating copy to clipboard operation
AdvancedSharpAdbClient copied to clipboard

Longpress on SendKey

Open Imaginous opened this issue 8 months ago • 2 comments

Describe your feature request

When using ADB from the command line you can emulate a long key press: shell input keyevent --longpress <key code>

I'm using this for certain keys. I wanted to start using your library instead of starting ADB via a process each time I want to send a key stroke.

But found out your library doesn't seem to support the longpress attribute.

How important is this to you?

Critical

Describe the solution you'd like

To support the longpress attribute like in the ADB shell command.

Describe alternatives you've considered

Keep using my own solution... but it's not as comprehensive as your great library.

Additional context

No response

Imaginous avatar May 05 '25 13:05 Imaginous