Commit Graph

355 Commits

Author SHA1 Message Date
Tom
4bfeee690a Added command line option to control omx rotation 2020-04-17 10:44:16 -06:00
Tom
a205edc1c7 forced omx rotation to 90 degrees 2020-04-13 13:03:32 -06:00
Iwan Timmer
7f856d3284 Warn about unsupported resolutions in combination with SOPS
When using unsupported resolutions SOPS will default to 720p60
2020-03-17 22:37:18 +01:00
Iwan Timmer
922cd29adc Add MMAL video decoder 2020-03-17 22:17:34 +01:00
Albert Andaluz
4528b78d81 Added git branch name and short hash to moonlight binary 2020-01-05 22:00:30 +01:00
Albert Andaluz
fe1c203b10 when sending CTRL+ALT+SHIFT+Q key sequence for disconnecting from the remote host, always send a keydown event to avoid leaving the remote host keyboard in key_UP state. (seen with Geforce Experience 3.17) 2020-01-05 22:00:30 +01:00
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
243ef8ae0b Also grab mouse input devices (fixes #756) 2019-09-12 17:41:00 +01:00
5schatten
52efef7a66 video/rockchip: define READ_BUF_SIZE as a size of 0x00100000
If you use SZ_1M to define READ_BUF_SIZE you also need to include the sizes.h header file which is apparently missing.
2019-07-03 18:00:12 +02:00
Iwan Timmer
005407083b Merge remote-tracking branch 'cgutman/fix-warnings' 2019-05-01 19:55:50 +02:00
Cameron Gutman
f305e235f9 Fix bugs found by compiler warnings 2019-04-30 19:50:22 -07:00
Cameron Gutman
2f687cc58a Don't modify the decode unit in place 2019-04-30 18:55:18 -07:00
Iwan Timmer
2cb725314c Add connection status update handler 2019-04-29 19:09:31 +02:00
Iwan Timmer
10881d4f0d Update moonlight-common-c 2019-04-29 19:05:48 +02:00
Jose Antonio Postigo
7b46b4b2ea Minor fixes to get rumble working in evdev devices 2019-04-18 17:32:16 +02:00
Hugo Hromic
212eac6359 Only grab input devices if they are keyboards 2019-02-24 16:17:46 +00:00
Iwan Timmer
d7ac8654e5 Do signal masking before thread creation 2019-02-17 22:03:14 +01:00
Iwan Timmer
292a26d6ad Initial attempt to implement rumble for evdev 2019-02-16 16:12:06 +01:00
Iwan Timmer
0868f0295e Port rumble support for SDL from moonlight-qt 2019-02-16 16:11:40 +01: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
Iwan Timmer
497cb87ea5 Merge remote-tracking branch 'hhromic/code-cleanup' 2019-01-18 19:10:28 +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
AreaScout
aee5d9968b Add: register all for FFmpeg 2018-11-28 09:56:26 +00:00
Cameron Gutman
e21e2074e3 Add support for X1 and X2 mouse buttons 2018-10-09 19:39:25 +02:00
John Carlson
7a2f7130dd x11: Handle Mouse scroll wheel events 2018-08-12 23:21:33 -04:00
Iwan Timmer
53d2e7cbf9 Small buffer size fix 2018-08-11 17:28:52 +02:00
AreaScout
9b0b2d4a6e Add: hide cursor in left lower corner instead of delete it -> easier to recover on exit 2018-06-18 20:16:17 +02:00
Iwan Timmer
d8d7f75ee5 Merge remote-tracking branch 'areascout/rockchip' 2018-06-15 18:22:10 +02:00
AreaScout
c0cc20733b Add: initial ODROID-N1 Rockchip hardware decoder support 2018-06-15 17:23:48 +02:00
Iwan Timmer
c030ee66f3 Update FFMpeg code and remove VDPAU support as it needs to be rewritten 2018-05-27 00:03:46 +02:00
Iwan Timmer
8dfab9bc4f Do not complain about incorrect mapping when some abs are not used 2018-04-08 11:28:55 +00:00
Iwan Timmer
c8195f796c Provide gamepad mask at startup 2018-04-08 11:28:55 +00:00
Iwan Timmer
dcda1a5d13 Correct controller GUID when product or vendor id is undefined 2018-03-20 19:49:26 +01:00
Iwan Timmer
6411150383 Fix for video corruption 2018-01-14 14:06:36 +00:00
Dariusz Stojaczyk
0125a497f0 evdev: limit unnecessary polls
The previous code was probably a typo.
This patch doesn't bring any measurable
performance improvements, but still
prevents the fd from being corrupted.

Signed-off-by: Dariusz Stojaczyk <darek.stojaczyk@gmail.com>
2017-12-03 12:18:01 +01:00
Iwan Timmer
143b87b488 Correct map command description 2017-11-30 19:54:53 +01:00
Iwan Timmer
7ea2a41f48 Remove debug statement 2017-11-05 14:17:14 +01:00
Iwan Timmer
f3219dffa0 Fix compilation error in VDPAU backend 2017-11-04 12:31:25 +01:00
Iwan Timmer
f08b701223 Add map function to create controller mappings 2017-10-24 20:51:08 +02:00
Dmitry
9ed221bda8 fix for #566 2017-09-24 15:55:45 +07:00
Yegor Timoshenko
c8a8f05e78 Add missing headers 2017-09-17 18:55:39 +00:00
Iwan Timmer
82b956a1e8 Get home directory from password db in case the HOME env doesn't exist 2017-09-07 20:15:39 +02:00
Iwan Timmer
a4e19af04f Send gamepad data on trigger button press 2017-09-02 18:56:56 +02:00
Iwan Timmer
d7e6313a55 Remove unneeded swscale header 2017-08-10 20:13:51 +02:00