387 Commits

Author SHA1 Message Date
Cameron Gutman
e8fbb2ec9c Add half-axis support for dpad 2021-07-25 17:04:43 -05:00
Cameron Gutman
35af4c4ede Add half-axis support for triggers 2021-07-25 16:47:06 -05:00
Cameron Gutman
e2c2575efb Add friendly messages for certain error cases 2021-07-25 15:25:13 -05:00
Cameron Gutman
5215271b60 Add meta modifiers 2021-07-25 15:15:14 -05:00
Cameron Gutman
b71862d622 Fix left vs right modifiers, insert key, and super keys 2021-07-25 15:03:26 -05:00
Cameron Gutman
30da7e2bc2 Don't prefix GPU type with 'NVIDIA' 2021-07-25 15:02:30 -05:00
Cameron Gutman
fb57f3cb4d Add arbitrary audio duration support to all audio backends 2021-07-25 14:01:19 -05:00
Cameron Gutman
4e09dccfc0 Use moonlight-common-c definition for max channel count 2021-07-25 13:33:35 -05:00
Cameron Gutman
d1937cb8e6 Fix usage help after remote and FPS default changes 2021-07-25 13:28:58 -05:00
Cameron Gutman
ef719dc938 Cleanup and optimize FFmpeg code 2021-07-25 13:26:45 -05:00
Cameron Gutman
8602c85714 Avoid deprecated av_init_packet() function 2021-07-25 13:17:21 -05:00
Cameron Gutman
30464979dc Enable audio encryption unless on a slow CPU 2021-07-24 16:25:03 -05:00
Cameron Gutman
b907c4b608 Use the same remote streaming and packet size defaults as other clients 2021-07-24 15:57:55 -05:00
Cameron Gutman
56d1fee17b Default to 60 FPS at all resolutions
The time of most hardware maxing at 1080p30 has long since passed.
2021-07-24 15:40:59 -05:00
Cameron Gutman
2fa276182f Fix ALSA and PA mappings for 7.1 surround sound 2021-07-24 15:35:27 -05:00
Cameron Gutman
1cb4699057 Start plumbing 7.1 surround sound support 2021-07-24 08:14:03 -05:00
Cameron Gutman
01d43ff596 FFmpeg VAAPI doesn't need slices and is incompatible with RFI 2021-07-24 07:56:41 -05:00
Cameron Gutman
98092f8baf FFmpeg software decoding doesn't support RFI for HEVC 2021-07-24 07:55:52 -05:00
Cameron Gutman
83982d3981 Change default value of 'unsupported' to true to match other clients 2021-07-24 07:50:55 -05:00
Cameron Gutman
615ed824ac Use 48KHz sample rate for PA test to match the actual stream 2021-07-24 07:33:07 -05:00
Cameron Gutman
7109301a46 Never use audio callbacks for fake platform 2021-07-24 07:31:01 -05:00
Mariotaku Lee
9cec4208a4 Fixed trigger left/right range
Added .ignore for common build dir
2021-04-19 15:41:53 +09:00
Romain Tisserand
5b6639c8a7 Fix gcc-10 compilation (fno-common flag enabled by default) 2020-07-11 21:29:09 +02:00
Iwan Timmer
95104759ab Fix missed merging conflicts
Fixes commit 4711129
2020-04-19 11:37:02 +02:00
Iwan Timmer
4711129d14 Merge remote-tracking branch 'tomblind/touchscreen' 2020-04-18 21:43:09 +02:00
Tom
5beb32d066 Emulating right click on touch screens with a long press 2020-04-18 07:34:52 -06:00
Tom
6b8260c1e5 refactored touchscreen code for clarity and safety, and removed hacked in rotation 2020-04-18 07:03:59 -06:00
Tom
b22b07e5a0 Applied display rotation to mouse movement in evdev 2020-04-17 16:50:04 -06:00
Tom
aae24557f9 Added transform flag to mmal display settings so rotation takes effect 2020-04-17 12:57:51 -06:00
Tom
4cd2d4b8dc Included video.h in pi and mmal to give access to rotation flags 2020-04-17 11:19:01 -06:00
Tom
ceacef6329 Added display rotation support to mmal decoder 2020-04-17 10:59:15 -06:00
Tom
4bfeee690a Added command line option to control omx rotation 2020-04-17 10:44:16 -06:00
Tom
c9a624595b initial touchscreen support (rotated 90 degrees for the moment) 2020-04-13 13:16:25 -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