mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-11-29 01:05:19 +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:
1 parent
4ee5015557
commit
ecf09e8907
5 files changed
+69
-42
No files matched your search
@@ -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