Hugo Hromic
ecf09e8907
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.
2019-10-05 21:23:36 +01:00
Hugo Hromic
4ee5015557
Clarify -localaudio option in help text
...
* It makes audio play on host computer instead of remote client
2019-10-05 19:13:37 +01:00
Hugo Hromic
6c8b3bb29d
Remove redundant config parsing conditionals
...
* They are already covered in the last `else` block
2019-10-05 19:13:37 +01:00
Hugo Hromic
434dba31de
General codebase clean-ups (no code changes)
...
* Remove trailing spaces
* Replace TABs with spaces
* Add missing indentation
2019-10-05 19:13:24 +01:00
Hugo Hromic
c8e090a5e1
Minor config codebase clean-ups for consistency
...
* Improve readability of conditional operators
* Remove unnecessary trailing semi-colon in #define
* Use NULL-constant instead of zero-value
2019-10-05 19:12:48 +01:00
Hugo Hromic
212eac6359
Only grab input devices if they are keyboards
2019-02-24 16:17:46 +00:00
Hugo Hromic
d0f5f90dea
Add option for sending quit app request after quitting streaming session
...
* By default this option is set to `false` and can be enabled using the
new `-quitappafter`/`quitappafter` command-line/config options.
2019-01-24 23:11:57 +01:00
Hugo Hromic
7a32234c0b
Fixed permissions on source file
...
* File was set to 0755 permissions instead of 0644
2019-01-24 20:56:01 +01:00
Hugo Hromic
f7039957cd
x11: use QUIT_KEY constant instead of direct code
...
For consistency in the evdev, sdl and x11 input drivers.
2018-12-01 15:31:42 +00:00
Hugo Hromic
9a1db0919b
Rename QUIT_MODIFIERS and MODIFIERS constants to ACTION_MODIFIERS
...
For consistency in the evdev, sdl and x11 input drivers.
2018-12-01 15:23:59 +00:00