mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-07-19 15:32:00 +00:00
Add --screen-off-timeout
Change the Android "screen off timeout" (the idle delay before the screen automatically turns off) and restore the initial value on exit. PR #5447 <https://github.com/Genymobile/scrcpy/pull/5447>
This commit is contained in:
parent
d3db9c4065
commit
eff5b4b219
11 changed files with 108 additions and 2 deletions
|
@ -265,6 +265,7 @@ struct scrcpy_options {
|
|||
sc_tick audio_buffer;
|
||||
sc_tick audio_output_buffer;
|
||||
sc_tick time_limit;
|
||||
sc_tick screen_off_timeout;
|
||||
#ifdef HAVE_V4L2
|
||||
const char *v4l2_device;
|
||||
sc_tick v4l2_buffer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue