Inject additional ACTION_BUTTON_* events for mouse
On mouse click events: - the first button pressed must first generate ACTION_DOWN; - all button pressed (including the first one) must generate ACTION_BUTTON_PRESS; - all button released (including the last one) must generate ACTION_BUTTON_RELEASE; - the last button released must in addition generate ACTION_UP. Otherwise, Chrome does not work properly. Fixes #3635 <https://github.com/Genymobile/scrcpy/issues/3635> Signed-off-by: Romain Vimont <rom@rom1v.com>
S
Simon Chan committed
9b286ec8a7d014c2a91bbc6d24343f9496724521
Parent: 8c5c55f
Committed by Romain Vimont <rom@rom1v.com>
on 1/30/2023, 7:57:54 PM