Extract shortcut actions to separate functions
Extract shortcut actions to separate functions

To simplify event handling code, move all actions to separate functions.

Genymobile/scrcpy,Genymobile/scrcpy,Genymobile/scrcpy