Commit Graph

366 Commits

Author SHA1 Message Date
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
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