From 7bd18fcda846c53f5b8b5abc795750d65585218e Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Wed, 8 Apr 2026 21:32:36 +0200 Subject: [PATCH] Remove references to --rotation This option was removed a long time ago. --- app/data/bash-completion/scrcpy | 1 - app/src/input_events.h | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/app/data/bash-completion/scrcpy b/app/data/bash-completion/scrcpy index dd8ea424..11e75578 100644 --- a/app/data/bash-completion/scrcpy +++ b/app/data/bash-completion/scrcpy @@ -80,7 +80,6 @@ _scrcpy() { --record-orientation= --render-driver= --require-audio - --rotation= -s --serial= -S --turn-screen-off --screen-off-timeout= diff --git a/app/src/input_events.h b/app/src/input_events.h index 57ef9b85..42142bed 100644 --- a/app/src/input_events.h +++ b/app/src/input_events.h @@ -22,10 +22,10 @@ * coordinates are expressed in SDL window coordinates (the visible UI), while * scrcpy events are expressed in device frame coordinates. * - * In particular, the window may be visually scaled or rotated (with --rotation - * or MOD+Left/Right), but this does not impact scrcpy input events (contrary - * to SDL input events). This allows to abstract these display details from the - * input event processors (and to make them independent from the "screen"). + * In particular, the window may be visually scaled or rotated, but this does + * not impact scrcpy input events (contrary to SDL input events). This allows to + * abstract these display details from the input event processors (and to make + * them independent from the "screen"). * * For many enums below, the values are purposely the same as the SDL * constants (though not all SDL values are represented), so that the