mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-04-21 01:33:36 +00:00
Fix device rotation shortcut
MOD+r was never handled because it was consumed by the MOD+Shift+r handler.
This commit is contained in:
parent
df91514112
commit
5fedc79530
1 changed files with 7 additions and 3 deletions
|
|
@ -525,10 +525,14 @@ sc_input_manager_process_key(struct sc_input_manager *im,
|
|||
// Controls for all sources
|
||||
switch (sdl_keycode) {
|
||||
case SDLK_R:
|
||||
if (!repeat && shift && down && !paused) {
|
||||
reset_video(im);
|
||||
// Only capture if shift is set
|
||||
if (shift) {
|
||||
if (!repeat && down && !paused) {
|
||||
reset_video(im);
|
||||
}
|
||||
return;
|
||||
}
|
||||
return;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue