11 Commits

Author SHA1 Message Date
Cameron Gutman
5fd105c9a9 Implement ENet for control and input streams 2016-03-05 17:56:42 -06:00
Cameron Gutman
d9cb5eacf8 Add support for Generation 5 servers (GFE 2.10.2+) 2016-02-19 03:41:03 -05:00
Cameron Gutman
0b9e7aa05b Standardize connection timeouts to 10 seconds 2016-01-04 23:54:25 -06:00
Cameron Gutman
ec39f22ad8 Fix packet type for legacy controller packets and privatize some constants to prevent this bug from happening again 2015-02-02 18:06:05 -05:00
Cameron Gutman
51343a171d Add multiple controller support 2015-02-01 04:37:35 -05:00
Cameron Gutman
daf7598774 Use a single context object instead of passing around tons of objects. Start of GFE 2.1.x backwards compatibility. 2015-01-25 17:34:28 -05:00
Cameron Gutman
7f587dc389 Thread priority tweaks: Ensure renderer threads have higher priorities than the receive threads. Increase the priority of the resync thread to just below the video renderer so the control packet can be emitted ASAP. Lower the priority of the loss stats thread. Increase the priority of the input thread slightly above normal. 2014-10-17 17:03:58 -07:00
Cameron Gutman
c9d003ca6d Use a single byte buffer to serialize input packets 2014-09-27 14:58:51 -07:00
Cameron Gutman
4377808896 Remove unnecessary byte buffer allocations in the input path 2014-09-14 23:58:42 -07:00
Cameron Gutman
50f8f78b8d Add support for vertical mouse scrolling 2014-09-03 22:52:48 -07:00
Cameron Gutman
c9eee2e075 Rename NvController -> ControllerStream. Use a dedicated input thread rather than a thread pool for processing input. Batch analog axis updates and mouse moves. 2014-08-20 22:27:25 -07:00