53 Commits

Author SHA1 Message Date
Cameron Gutman
babba295a9 Add native touch support 2023-09-16 01:57:56 -05:00
utopiafallen
ce52398dc5 Validate controllers when handling rumble events from GameStream
Rumble events may be received for controllers that are no longer present or attached
so they should be dropped instead of being forwarded to JS for handling.
2022-11-06 19:58:35 -06:00
bob
aaa1ca7079 Added controller rumble support.
Pepper SDK and NaCl in general is EOL for Chrome, although still supported for Chrome Apps.
This means that the Pepper Gamepad API was never updated with rumble support so in order
to add rumble support, rumble messages from Gamestream have to be forwarded to JavaScript
and handled with gamepad.vibrationActuator.playEffect().

Side note, Chrome limits the duration of playEffect to 5 seconds and requesting more than
that causes the vibration request to be rejected.
2022-11-06 19:58:35 -06:00
Cameron Gutman
b2bee37fe2 Plumb RTSP session URL into LiStartConnection() 2022-10-31 17:54:09 -05:00
Cameron Gutman
56d9e75d2b Use the new LiRequestIdrFrame() API 2022-10-05 01:01:22 -05:00
tomciaaa
765e104cb3
Make mouse locking optional (#518)
Co-authored-by: tomciaaa <tomciaaa@chromebook>
2022-07-04 18:30:08 -05:00
Cameron Gutman
66b435d9f9 Add a small touch deadzone for double clicking 2020-04-22 19:44:46 -07:00
Cameron Gutman
37cdf16834 Add direct touchscreen mouse support 2020-04-22 19:22:32 -07:00
Cameron Gutman
f1e789abe5 Change errorCode from long to int 2020-02-24 23:44:38 -08:00
Cameron Gutman
ce70b18bdb Implement OpenSSL locking callbacks 2019-07-20 19:33:21 -07:00
Cameron Gutman
9738b1bbc2 Add GfeVersion to start parameters 2019-02-27 00:08:57 -08:00
Cameron Gutman
0ddf07f4de Require cert pinning for HTTPS 2018-12-24 17:48:01 -08:00
Cameron Gutman
4613d4977c Add automatic detection of WAN IP address 2018-11-17 11:27:59 -08:00
Cameron Gutman
94df20bbee Improve performance of PC polling with many paired PCs 2017-09-02 20:30:18 -07:00
Cameron Gutman
37387e151f Batch mouse movement events to reduce input lag with high polling rate mice 2017-06-23 16:43:10 -07:00
Cameron Gutman
59e3a104ba Update to latest moonlight-common-c 2017-06-11 15:52:03 -07:00
Cameron Gutman
cae6b4a566 Update moonlight-common-c with latest bugfixes 2017-06-08 21:50:00 -07:00
Cameron Gutman
ee5ee588bc Update to support GFE 3.0.7 2016-10-05 19:25:51 -07:00
Cameron Gutman
77477722d3 Display an error message if the video renderer fails to initialize 2016-09-11 23:50:02 -07:00
Cameron Gutman
12e34a9f4e Add the code back to request an IDR frame when switching back to Moonlight 2016-07-10 22:23:01 -07:00
Cameron Gutman
7392ea4ad7 Fix returning binary data for box art 2016-07-04 14:18:01 -07:00
Cameron Gutman
1f3f4bd0aa Implement fallback to software when hardware decoding is unavailable 2016-06-09 12:23:23 -05:00
Cameron Gutman
0d8f82a5f9 Revert "Clear the display when tearing down the decoder. This closes #50"
This reverts commit 68aecaeed5139c8d6ad4f4a0cda4b60bd3c1b94f.
2016-05-09 22:35:12 -04:00
Cameron Gutman
68aecaeed5 Clear the display when tearing down the decoder. This closes #50 2016-05-09 17:02:16 -04:00
Cameron Gutman
dd3cf77bee Improve profiling code 2016-05-09 14:25:58 -04:00
Cameron Gutman
9eaed3029f Add profiling infrastructure (currently unused) 2016-05-09 13:57:08 -04:00
Cameron Gutman
97052591ba Modifiers are passed with every input event so we don't need to track them ourselves 2016-05-06 13:22:50 -04:00
Cameron Gutman
21dd55566e Decouple renderer from decoder and remove associated workarounds 2016-05-05 16:57:26 -04:00
Cameron Gutman
5d17ee2bae Merge branch 'master' into nacl_pairing 2016-03-10 23:29:16 -08:00
Cameron Gutman
47ede93af0 Update common submodule 2016-03-03 21:15:48 -05:00
Cameron Gutman
4832237a11 Pairing is working 2016-02-28 00:25:49 -05:00
Cameron Gutman
b26869e93b Merge branch 'master' into js
Conflicts:
	moonlight.hpp
2016-02-26 23:10:31 -05:00
Cameron Gutman
1aff99d5e8 Fix the accent menu showing up on OS X. This closes #1 2016-02-26 22:26:36 -05:00
Cameron Gutman
4f6c547e47 Fix scrolling behavior by accumulating partial ticks 2016-02-26 14:43:20 -05:00
Cameron Gutman
e7b45e5b6c Set the graphics context size using the width and height of the stream instead of the initial size of the NaCl element. This closes issue #16 2016-02-25 22:48:22 -05:00
Gustavo
c420db5373 New message handling, and new NvAPI 2016-02-25 07:58:36 -03:00
Cameron Gutman
5d25874131 Clear the decode queue on mouse lock or focus gain. This closes #5 2016-02-18 13:25:49 -05:00
Cameron Gutman
8bac82b694 Fix deadlock on self-initiated connection termination 2016-02-18 00:47:57 -05:00
Cameron Gutman
f90578882d Implement Ctrl+Alt+Shift+Q to terminate the stream 2016-02-16 20:27:22 -05:00
Cameron Gutman
c9e65715cb Add audio decoding support 2016-02-14 00:35:39 -05:00
Aidan Campbell
14e007a383 Merge branch 'master' of github.com:cgutman/moonlight-chrome 2016-02-13 19:12:07 -05:00
Cameron Gutman
5588ed8f19 Add forgotten header 2016-02-13 18:27:48 -05:00
Aidan Campbell
777aa655eb Merge branch 'master' of github.com:cgutman/moonlight-chrome 2016-02-13 18:23:14 -05:00
Aidan Campbell
230ef7f84b unbreaking build. 2016-02-13 18:22:58 -05:00
Cameron Gutman
2cd4856786 Implement keyboard input support 2016-02-13 18:05:34 -05:00
Cameron Gutman
f77979d904 Increase rendering performance significantly 2016-02-13 15:48:33 -05:00
Cameron Gutman
b7032a8957 Rendering is now working 2016-02-13 14:49:27 -05:00
Cameron Gutman
e67a841a3e Rendering WIP 2016-02-13 12:14:13 -05:00
Cameron Gutman
9a38318210 Video decoding is partially working 2016-02-13 09:12:41 -05:00
Cameron Gutman
7ea534c692 Basic streaming and mouse input works 2016-02-13 07:19:57 -05:00