2
0
mirror of https://github.com/Genymobile/scrcpy synced 2025-08-31 22:35:37 +00:00

Change "resize to fit" shortcut to MOD+w

For convenience, MOD+x will be used for injecting the CUT keycode.
This commit is contained in:
Romain Vimont
2020-07-17 00:00:42 +02:00
parent bccd12bf5c
commit 8f64a5984b
4 changed files with 4 additions and 4 deletions

View File

@@ -398,7 +398,7 @@ input_manager_process_key(struct input_manager *im,
screen_switch_fullscreen(im->screen);
}
return;
case SDLK_x:
case SDLK_w:
if (!shift && !repeat && down) {
screen_resize_to_fit(im->screen);
}