Commit Graph

2546 Commits

Author SHA1 Message Date
Cameron Gutman 65b2e19b07 Rework active gamepad mask handling to be multi-channel-safe
We may get activeGamepadMask changes out of order between different
controller channels, so only check the bit of the mask corresponding to the
controller number specified in the event itself.

This also fixes the "ControllerNumber not allocated" warning each time a
gamepad is removed.
2023-07-10 21:45:37 -05:00
Cameron Gutman 3acc7ef557 Remove unused variable 2023-07-10 21:45:37 -05:00
Cameron Gutman 2ed2dd5e0e Implement touch, motion, and battery for DS4 2023-07-10 21:45:37 -05:00
Cameron Gutman 309fcc4142 Convert rumble_queue into a generic feedback_queue for gamepad messages 2023-07-10 21:45:37 -05:00
Cameron Gutman fd77230964 Stub controller battery, touch, and motion packets 2023-07-10 21:45:37 -05:00
Cameron Gutman 1ef8cb1111 Send feature flags in RTSP DESCRIBE response 2023-07-10 21:45:37 -05:00
lns103 d3578e9711 fix(installer): use the system proxy to download ViGEmBus if it is enabled (#1406) 2023-07-10 19:51:13 -04:00
Vitorvlv e1b0c98496 docs(troubleshooting): add warning about usage with Gamescope (#1438)
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
2023-07-10 09:44:41 -04:00
ns6089 6dfe56518c Decrease gpu scheduling priority for NVIDIA
Fixes #1031
2023-07-09 18:50:10 -05:00
Cameron Gutman c5bf78176e Remove GetAsyncKeyState() check before sending mouse button events
It's unnecessary and breaks in cases where event processing is slow

Fixes #1433
2023-07-08 22:58:12 -05:00
jcj83429 d075424225 Add support for Applications (context menu) key in the Windows platform
I will add corresponding support in moonlight-qt.
2023-07-08 21:21:18 -05:00
Casey Korver f3871c4449 Correct typos on web portal 2023-07-08 19:56:56 -05:00
Casey Korver 881af5b566 Correct typos in logging 2023-07-08 19:56:56 -05:00
Casey Korver b1ffa8a6c5 Correct typos in comments 2023-07-08 18:56:27 -05:00
Cameron Gutman 70dc582f38 Refactor gamepad emulation code to use the DS4 extended report format
This has the side-effect of fixing #1407 due to the incorrect assumption that
it's safe to cast our gamepad_state_t to a XUSB_REPORT.
2023-07-08 11:34:16 -05:00
Cameron Gutman b248e8b6b8 Clear additional disk space for Flatpak builds 2023-07-08 10:47:29 -05:00
aetheryx c972fa880f fix: consider link-local addresses as LAN 2023-07-06 22:53:38 -05:00
Cameron Gutman 810945f5bf Allow use of multiple ENet channels 2023-07-04 15:48:31 -05:00
Cameron Gutman 11aedf56a2 Implement controller arrival metadata support 2023-06-30 20:47:29 -05:00
Cameron Gutman 12e6774035 Fix max gamepad count to match protocol limitation 2023-06-27 21:11:19 -05:00
Cameron Gutman feedede6f9 Implement extended controller button support 2023-06-27 21:11:19 -05:00
Cameron Gutman 737be029ec Move input packet debug prints off the control stream thread
The control stream thread is extremely performance-sensitive.
2023-06-27 18:53:01 -05:00
Cameron Gutman 62606a62f9 Implement input batching for reduced latency 2023-06-27 18:53:01 -05:00
Cameron Gutman 99225c0256 Pull in latest protocol extension from moonlight-common-c 2023-06-27 18:53:01 -05:00
Era Dorta ed74492e4e fix(deps): replace libboost chrono and thread with standard chrono and thread (#1364)
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
2023-06-26 11:50:10 -04:00
ReenigneArcher 29fc20671d fix(ui): fix nightly release notifications (#1394) 2023-06-25 17:10:35 -04:00
ReenigneArcher 5c6b383b60 docs(linux): add information about mesa (#1393) 2023-06-24 17:00:46 -04:00
ReenigneArcher 5b61b7230a docs: add linux ssh example (#1388) 2023-06-22 20:48:02 -04:00
Elia Zammuto 8ff2022aaf Fix WebUI Stable Update notification (#1358) 2023-06-06 18:31:15 -04:00
ReenigneArcher cdbc0e699c docs(badges): force badges to use svg (#1342) 2023-05-31 22:07:26 -04:00
dependabot[bot] 262bed6a0d build(deps): bump bootstrap from 5.2.3 to 5.3.0 (#1339)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-31 07:11:33 -04:00
Conn O'Griofa 72d63aae68 windows: fix header conflict for msys2-w32api-headers 11.0.1+ (#1332) 2023-05-29 20:00:52 -04:00
Cameron Gutman 7cc6fcd612 v0.20.0 release prep (#1321) 2023-05-28 20:20:35 -05:00
Cameron Gutman 8090fb496b Fix software encoding defaulting to HEVC instead of H.264
Regression introduced by d973e5bbc7
2023-05-28 19:29:07 -05:00
Cameron Gutman f734d6684f Reset the default audio device on startup if Steam Streaming Speakers are selected
Fixes lack of audio device restoration if Sunshine crashes while streaming
2023-05-27 14:24:38 -05:00
Cameron Gutman bca61bfc0d Always change the sink if it differs from the active sink
Fixes audio sink field not changing devices properly
2023-05-27 14:24:38 -05:00
dependabot[bot] 1bafa5a856 build(deps): bump sphinx from 6.2.0 to 7.0.1 (#1286)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-26 20:52:39 -04:00
dependabot[bot] f37914d320 build(deps): bump furo from 2023.3.27 to 2023.5.20 (#1299)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-26 19:46:54 -04:00
Cameron Gutman 9a65c91671 Rename SunshineSvc to SunshineService
This avoids a MalwareBytes false positive.

Fixes #1126
2023-05-26 17:54:38 -05:00
Cameron Gutman 60ebafd15a Expand core component group by default 2023-05-26 17:54:38 -05:00
Cameron Gutman fe62b10324 Add an option to control whether Sunshine starts on boot 2023-05-26 17:54:38 -05:00
Cameron Gutman a87d8335bd Add a friendly name for SunshineSvc 2023-05-26 17:54:38 -05:00
Cameron Gutman 5c9750a6fb Clean up installer options now that the service is mandatory 2023-05-26 17:54:38 -05:00
Cameron Gutman 8da919f411 Rename Back Button Timeout and disable it by default
Users don't expect long presses of the back button to not work out of the box.
2023-05-25 20:03:53 -05:00
Cameron Gutman b3f57cf90d Fix emulated Home/Guide presses being missed
Fixes #1048
2023-05-25 20:03:53 -05:00
Cameron Gutman 2f4cc9ace0 Add option to always send scancodes
Default is enabled to match v0.19.1 behavior

Fixes #1233
2023-05-25 19:31:39 -05:00
Cameron Gutman 0f1dc1bb05 Print a warning if GameStream is using conflicting ports 2023-05-25 19:07:13 -05:00
Cameron Gutman f22ce25dad Fix systray after Explorer restart 2023-05-25 18:38:49 -05:00
Cameron Gutman 0e2eacb0ee Reduce opacity of placeholder text
This makes it more obvious that it's a placeholder
2023-05-24 20:34:13 -05:00
Cameron Gutman fbb77aa7cd Prefer virtual sink over audio sink if host playback is disabled
Fixes "Play audio on host PC" option not working when audio sink is manually set
2023-05-24 20:34:13 -05:00