Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
113.23k stars 10.8k forks source link

SDK Mouse can trigger Hot Corners #5192

Open chacalau opened 3 months ago

chacalau commented 3 months ago

Describe the solution you'd like A clear and concise description of what you want to happen.

Mouse in SDK mode to be able to trigger "hot corners" Ie. Settings > Accessibility > Auto action after pointer stops > Corner actions

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

It works in --mouse=uhid mode, but not in --mouse=sdk mode Most of the time I use Scrcpy via wifi connection and the UHID mouse mode is too slow via wifi, so I use the default sdk mouse mode

Additional context Add any other context or screenshots about the feature request here.

Screenshot 2024-08-13 6 55 33 PM

rom1v commented 3 months ago

Which scrcpy version?

Move hover events were not transmitted before very recently. Does it still happen with the latest version (2.6.1)?

chacalau commented 3 months ago

Which scrcpy version?

Move hover events were not transmitted before very recently. Does it still happen with the latest version (2.6.1)?

Yes, v2.6.1, latest version

I'm just suggesting as an enhancement request. The new mouse hover events are fantastic and make a HUGE improvement to the UX.

rom1v commented 3 months ago

Out of curiosity, does it work with scrcpy 2.6 (where the events were injected as a mouse instead of a finger, but "reverted" in 2.6.1 because it caused issues)?

chacalau commented 3 months ago

Out of curiosity, does it work with scrcpy 2.6 (where the events were injected as a mouse instead of a finger, but "reverted" in 2.6.1 because it caused issues)?

I might need some instructions how to revert back to scrcpy 2.6

rom1v commented 3 months ago

Which platform?

On Windows, just download the release for 2.6. On Linux and macOS, you must build from tag v2.6 (or v2.6-install-release if you want to ./install_release.sh on Linux).

chacalau commented 3 months ago

on chromebook - linux... I'll give it a shot