scrcpy tricks

winget install scrcpy 

winget install Genymobile.scrcpy

winget install Google.PlatformTools


goto dev. options > wireless debugging 

pair with 6 digit code
adb pair ip:port code

scrcpy


https://github.com/Genymobile/scrcpy/blob/master/doc/shortcuts.md

MOD = alt or left super
change with --shortcut-mod. Possible keys are lctrl, rctrl, lalt, ralt, lsuper and rsuper
scrcpy --shortcut-mod=lctrl,lsuper

Alt+R = adb shell settings put system user_rotation 1

mod+arrow = rotate
etc

install 
https://github.com/farmerbb/Taskbar
https://play.google.com/store/apps/details?id=com.farmerbb.taskbar&hl=en

adb shell pm grant com.farmerbb.taskbar android.permission.WRITE_SECURE_SETTINGS

adb shell pm grant com.farmerbb.secondscreen.free android.permission.WRITE_SECURE_SETTINGS

adb shell pm uninstall com.farmerbb.taskbar


scrcpy --capture-orientation 90