733 Commits

Author SHA1 Message Date
Cameron Gutman
543dc087fc Increase decode buffer size to match Pi/MMAL decoders 2022-06-26 14:22:54 -05:00
Cameron Gutman
5fe7b36b40 Reduce use of magic numbers 2022-04-21 23:31:04 -05:00
Cameron Gutman
d74cc63038 Fix stack buffer overflow in pairing process 2022-04-21 23:06:31 -05:00
Cameron Gutman
039040e247 Replace usage of functions deprecated in OpenSSL 3.0 2022-04-21 23:04:23 -05:00
Cameron Gutman
22f75b74f9 Fix const warnings with FFmpeg 5.0 2022-04-21 22:13:21 -05:00
Cameron Gutman
6c215e47bf Update SDL_GameControllerDB 2022-03-15 23:19:54 -05:00
Cameron Gutman
44623c4a5e Update moonlight-common-c 2022-03-15 23:19:16 -05:00
Maciej Bogusz
5449b521aa Warn about invalid rotation values 2022-01-11 19:39:59 -06:00
Maciej Bogusz
786d4a66ec Add rotation in the sample configuration file 2022-01-11 19:39:59 -06:00
Laurent Camarasa
8323eeb23c Bugfix : let the program terminate if connection is lost when using SDL 2022-01-10 01:25:51 -06:00
Cameron Gutman
f871b663b1 Add absolute mouse mode support when ungrabbed 2022-01-09 21:09:48 -06:00
Cameron Gutman
23e6854a84 Switch ungrab key combo to Ctrl+Alt+Shift+Z like Moonlight Qt 2022-01-09 19:57:52 -06:00
Cameron Gutman
fe5dd11893 Add high resolution scrolling with SDL 2.0.18+ 2022-01-09 19:54:25 -06:00
Cameron Gutman
fbf6a2e2f7 Use new rumble API on SDL 2.0.9+ 2022-01-09 19:50:48 -06:00
Cameron Gutman
5761f533ab Grab mouse only once streaming has started 2022-01-09 19:41:56 -06:00
Cameron Gutman
bbdd7e5b24 Implement controller hotplugging for SDL 2022-01-09 19:41:35 -06:00
Cameron Gutman
634a0eee15 Fix finding libraries via pkg-config on Buster 2021-12-28 18:50:41 -06:00
Cameron Gutman
18fd1637a6 Prefer pkg-config for finding MMAL libraries 2021-12-28 18:07:16 -06:00
Cameron Gutman
807565de8b Version 2.5.2 v2.5.2 2021-12-20 00:24:48 +00:00
Cameron Gutman
1d32f894f7 Update SDL_GameControllerDB 2021-12-19 16:24:01 -06:00
Cameron Gutman
89030f0701 Fix Raspbian CI build 2021-12-19 16:21:58 -06:00
Cameron Gutman
ba8a23725d Fix build on Bullseye 2021-12-19 16:11:00 -06:00
Cameron Gutman
81322a2b91 Remove redundant match expression 2021-09-18 09:25:56 -05:00
TheChoconut
d58d8f70e8
Added options for optional dependencies. (#829) 2021-09-18 09:22:40 -05:00
Cameron Gutman
76b0de3566 Triggers should be unsigned types 2021-09-16 01:28:09 -05:00
Cameron Gutman
bf7149e75d Fix type of halfaxis mapping values 2021-09-16 01:19:08 -05:00
TheChoconut
87613b3176 Flush pair code for external scripts 2021-08-21 08:26:58 -05:00
Cameron Gutman
4164dc512f Version 2.5.1 v2.5.1 2021-08-08 12:08:08 -05:00
Cameron Gutman
81a49e4564 Add parameter to disable gamepad mouse emulation 2021-08-08 12:03:56 -05:00
Cameron Gutman
3611f1dd89 Fix null termination issue if /proc/cpuinfo was over 4KB 2021-08-08 11:47:03 -05:00
Cameron Gutman
4b41692fd8 Fix handling of buttons outside the normal joystick range
See aa03b9d7af

Fixes #788
Fixes #696
Fixes #675
Fixes #693
Fixes #642
2021-08-08 11:26:07 -05:00
Cameron Gutman
d45567b5ee Revert "Fix pressing unmapped buttons causing unexpected inputs"
Instead, we should not exclude certain buttons from mappings.

This reverts commit 21b6af349358a0da2552a45e5448dc551f490253.
2021-08-08 11:16:57 -05:00
Cameron Gutman
21b6af3493 Fix pressing unmapped buttons causing unexpected inputs 2021-08-08 11:07:13 -05:00
Cameron Gutman
6f15b257d7 Add DRM_FORMAT_NV12_10 definition for RK backend
Fixes #742
2021-08-08 10:05:43 -05:00
Cameron Gutman
3b51b40178 Update SDL_GameControllerDB 2021-08-08 09:34:56 -05:00
Cameron Gutman
7ff0bcd8fd Fix initialization of mapping structs 2021-08-07 18:08:55 -05:00
TheChoconut
469b2ed866 Mouse emulation support for evdev 2021-08-03 17:36:07 -05:00
Cameron Gutman
3a63466fe2 Version 2.5.0 v2.5.0 2021-07-25 19:15:53 -05:00
Cameron Gutman
cd2f1bb012 Add a verbose print when a device is ignored as an accelerometer 2021-07-25 19:13:40 -05:00
Cameron Gutman
663e4b4b7a Avoid mapping PS4 trackpad as a gamepad 2021-07-25 19:10:01 -05:00
Cameron Gutman
836e61b7c3 Remove gamepad from host when removed from client 2021-07-25 18:54:39 -05:00
Cameron Gutman
12efeda8e1 Ignore accelerometers and improve debugging of player numbers 2021-07-25 18:49:11 -05:00
Cameron Gutman
4dd6ab97df Fix over-counting of evdev gamepads on stream start 2021-07-25 18:33:52 -05:00
Cameron Gutman
45c1a504e9 Avoid stuck keys on disconnect and remove useless sleep 2021-07-25 18:03:07 -05:00
Cameron Gutman
781afc7c66 Fix surround channel mappings on PulseAudio 2021-07-25 17:51:22 -05:00
Cameron Gutman
0698e8b43f Fix PulseAudio when manually specifying the audio device 2021-07-25 17:30:46 -05:00
Cameron Gutman
86140eb192 Fix Pi fallback to ALSA/PA after 7109301a 2021-07-25 17:15:04 -05:00
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