Skip to content

Display and control your Android device

fixup! Handle all shortcuts in the same function

Romain Vimontd73dee983308
diff --git a/app/src/scrcpy.c b/app/src/scrcpy.c
index c4b88ac3..13e33a05 100644
--- a/app/src/scrcpy.c
+++ b/app/src/scrcpy.c
@@ -407,6 +407,9 @@ static void handle_key(const SDL_KeyboardEvent *event) {
case SDLK_g:
handle_shortcut('g');
return;
+ case SDLK_h:
+ handle_shortcut('h');
+ return;
case SDLK_b: // fall-through
case SDLK_BACKSPACE:
handle_shortcut('b');