Skip to content

Display and control your Android device

Fix device rotation shortcut

Romain Vimont5fedc7953067
diff --git a/app/src/input_manager.c b/app/src/input_manager.c
index 6f85aa8b..3ed26f11 100644
--- a/app/src/input_manager.c
+++ b/app/src/input_manager.c
@@ -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;
}
}