Commit Graph

364 Commits

Author SHA1 Message Date
Cameron Gutman
4215364350 Grab input devices to avoid input events being directed to the console. This also changes the quit logic so Ctrl+C works up until streaming starts when Ctrl+Alt+Shift+Q becomes the quit combo 2015-07-15 03:16:02 -04:00
Iwan Timmer
2ba4840569 Move audio code to seperate directory 2015-07-12 21:31:53 +02:00
Iwan Timmer
f167c6febb Support single gamepad in SDL 2015-07-12 21:04:02 +02:00
Iwan Timmer
be83130820 Simple keyboard support for SDL 2015-07-12 18:22:30 +02:00
Iwan Timmer
a92d215151 Mouse support for SDL 2015-07-12 18:22:04 +02:00
Iwan Timmer
676f39e197 Seperate main loop for SDL 2015-07-12 13:43:01 +02:00
Iwan Timmer
2945c13181 Platform can be specified as argument 2015-07-12 13:26:05 +02:00
Iwan Timmer
82d1ee1984 Initialize inputs only when necessary 2015-07-12 12:12:49 +02:00
Iwan Timmer
35cb5224ee Correct hexadecimal value for space key 2015-07-11 22:38:19 +02:00
Iwan Timmer
2ceebf8f1e Update debian patch 2015-07-07 22:10:40 +02:00
Iwan Timmer
d0e0856946 Fix changed function call to LiStartConnection v2.0.2 2015-07-07 21:23:36 +02:00
Iwan Timmer
f2303fc285 Update version to 2.0.2 2015-07-07 21:09:17 +02:00
Iwan Timmer
1a250a98a9 Update Moonlight-common-c 2015-07-07 21:09:17 +02:00
Iwan Timmer
c10195f524 Correct CEC button up/down event 2015-06-30 13:03:16 +02:00
Iwan Timmer
2dd653d22b Merge branch 'library' into pc 2015-06-28 21:39:13 +02:00
Iwan Timmer
2c73836a06 Add a few extra mappings (untested) 2015-06-28 21:25:03 +02:00
Cameron Gutman
5f129e1988 Print a warning if an unmapped button is pressed 2015-06-28 20:12:48 +02:00
Cameron Gutman
cd954e4935 Display an error if the mapping cannot be found. Fix mappings passed with absolute paths. 2015-06-28 20:12:25 +02:00
Cameron Gutman
8d7b2d94be Modify default.conf mapping to match the behavior of the Java client. The Y axis is reversed in mappings on the C client 2015-06-27 14:45:42 -07:00
Iwan Timmer
0b02016a6c Split input code in multiple files 2015-06-27 19:34:01 +02:00
Iwan Timmer
d4ba4a5f8f Split application in client and library 2015-06-27 17:29:54 +02:00
Iwan Timmer
7ee58c8209 Convert to SDL2 2015-06-27 13:42:14 +02:00
Iwan Timmer
e1ae9f4874 Merge branch 'master' into pc 2015-06-27 12:53:14 +02:00
Cameron Gutman
9bf1ad75e8 Fix re-plugging of input devices present when the stream started. Fix scroll wheel and backwards scrolling issue in common-c 2015-06-25 21:03:29 -07:00
Cameron Gutman
3e543c95f6 Pairing doesn't work if a stream is in progress 2015-06-25 21:02:18 -07:00
Cameron Gutman
bfd84705a1 Improve handling and reporting of common errors 2015-06-25 02:43:25 -04:00
Iwan Timmer
790f86681a Fix errors in input.c 2015-06-22 13:57:09 +02:00
Iwan Timmer
4cf3c695cf Add ArchLinux repository info 2015-06-21 23:13:05 +02:00
Iwan Timmer
c7547bf771 Bigger range for some gamepads 2015-06-21 22:57:53 +02:00
Iwan Timmer
4a5c2d9248 Include package information 2015-06-21 15:37:42 +02:00
Iwan Timmer
5a1fd3f12d Update dependency information in README 2015-06-21 15:29:01 +02:00
Iwan Timmer
f3478936af Merge branch 'cec' 2015-06-21 13:50:22 +02:00
Iwan Timmer
baf1da7f30 Add missing CEC header 2015-06-21 13:49:58 +02:00
Cameron Gutman
7f840a3d16 Update to common-c with API 1.1 v2.0.1 2015-06-20 00:11:09 -04:00
Cameron Gutman
91386f554e Safely handle missing fields in the serverinfo response. This fixes GFE 2.5.4.54, albeit in a non-ideal manner. A proper fix would be to parse the error out of the response and reissue the query over HTTP if it fails with error code 401. 2015-06-19 23:41:20 -04:00
Cameron Gutman
fa4f1a323a Switch to API 1.1 for moonlight-common-c 2015-06-19 22:15:03 -04:00
Iwan Timmer
8b42cb3f46 Cleanup CEC code 2015-06-17 19:35:45 +02:00
Gustavo
cb56c05c61 Simple CEC input 2015-06-17 11:05:36 -03:00
Iwan Timmer
47ae046169 Reorder includes v2.0 2015-06-12 18:50:57 +02:00
Iwan Timmer
e662ea0b73 Update Moonlight-common-c 2015-06-12 18:36:05 +02:00
Iwan Timmer
70764b6c51 Add beter video output detection 2015-06-12 18:34:06 +02:00
Iwan Timmer
09461caaf9 Fail on HTTP error 2015-05-31 12:40:07 +02:00
Cameron Gutman
5263607ec8 Fix memory corruption with no input devices 2015-05-28 14:18:14 -05:00
Cameron Gutman
63120acf7d Fix OMX build 2015-05-28 14:16:29 -05:00
Iwan Timmer
f8a1d62a7b Move third party code to own directory 2015-05-26 16:38:11 +02:00
Iwan Timmer
ea79e1b980 Cleanup error messages 2015-05-26 16:27:32 +02:00
Iwan Timmer
fd8bb4ac1b Fix indentation in Readme 2015-05-23 16:14:13 +02:00
Iwan Timmer
d1c8ddefa7 Prevent integer overflow for input trigger 2015-05-23 16:08:51 +02:00
Iwan Timmer
5f9a31da5b Merge remote-tracking branch 'Ilos/master' 2015-05-20 17:48:13 +02:00
Ilos
3693c4e402 Fixed "reverse_dpad_x/y" affecting abs_x/y 2015-05-20 17:31:50 +02:00