scrcpy icon indicating copy to clipboard operation
scrcpy copied to clipboard

Keyboard shortcut to switch apps left/right (aka swiping sideways on gesture navigation pill)

Open e-t-l opened this issue 4 months ago • 4 comments

  • [x] I have checked that a similar feature request does not already exist.

Is your feature request related to a problem? Please describe. There are many great keyboard shortcuts, e.g. MOD+H, MOD+N, and MOD + S, but there is no shortcut I could find to switch between active apps (without going to the App Switcher view), like swiping left or right on the Gesture Navigation pill would accomplish.

Describe the solution you'd like Bind these gestures to keyboard shortcuts, for example MOD+Shift+/

e-t-l avatar Apr 08 '24 02:04 e-t-l

Is there a shortcut key which does that in Android?

rom1v avatar Apr 08 '24 08:04 rom1v

Do you mean when a physical keyboard is attached? No idea, is that where scrcpy gets it's keyboard shortcuts?

e-t-l avatar Apr 08 '24 12:04 e-t-l

No idea, is that where scrcpy gets it's keyboard shortcuts?

Scrcpy shortcuts inject special keys, they never involve mouse/touch "gestures" (which would be difficult/unreliable).

rom1v avatar Apr 08 '24 12:04 rom1v

According to this article, "Cycle through recent apps (forward)" is Alt+Tab (and "Cycle...backward" is +Shift). When I press this key combination while using SCRCPY, it just cycles through my Windows desktop apps (aka the normal behavior of that key combination on Windows). So it looks like a hotkey does exist.

e-t-l avatar Apr 10 '24 20:04 e-t-l