mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-02-16 02:20:42 +00:00
Add option for disabling all input (view-only mode) in streaming session
* By default this option is set to `false` and can be enabled using the new `-viewonly`/`viewonly` command-line/config options. * When enabled, none of the input modules will be initialised, making the streaming session view-only, i.e. no input is sent to host. To facilitate implementation, SDL initialisation with `sdl_init()` was moved a bit earlier in the code to decouple from input initialisation.
This commit is contained in:
@@ -43,6 +43,9 @@
|
||||
## Send quit app request to remote after quitting session
|
||||
#quitappafter = false
|
||||
|
||||
## Disable all input processing (view-only mode)
|
||||
#viewonly = false
|
||||
|
||||
## Select audio device to play sound on
|
||||
#audio = sysdefault
|
||||
|
||||
|
||||
Reference in New Issue
Block a user