Skip to content

Display and control your Android device

Remove references to --rotation

Romain Vimont7bd18fcda846
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