94 Commits

Author SHA1 Message Date
Cameron Gutman
cd4bf9a28b Merge branch 'master' into root
Conflicts:
	AndroidManifest.xml
	libs/limelight-common.jar
	src/com/limelight/Game.java
2014-10-03 23:05:06 -07:00
Cameron Gutman
645ea683ee Increase the minimum deadzone to 12% because I'm paranoid 2014-10-03 22:52:48 -07:00
Cameron Gutman
a726ba8ea7 Add an ungrab key combo (Ctrl+Shift+Z). Ignore repeat key down events. Fix some mishandling of input events that could cause crashes. 2014-10-03 22:18:36 -07:00
Cameron Gutman
23fcaa1bab Add axis scaling support 2014-10-01 20:24:40 -07:00
Cameron Gutman
cafdc21bf2 Prefer Samsung's OMX.SEC.AVC.Decoder if it's in the list of decoders 2014-09-28 16:37:41 -07:00
Cameron Gutman
ceb9bd3342 Change bitstream restrictions to match default values 2014-09-28 16:37:30 -07:00
Cameron Gutman
426b3c8522 Prefer Samsung's OMX.SEC.AVC.Decoder if it's in the list of decoders 2014-09-28 14:17:31 -07:00
Cameron Gutman
9648cf257f Change bitstream restrictions to match default values 2014-09-28 12:27:21 -07:00
Cameron Gutman
991407a2cf Merge branch 'master' into root 2014-09-27 19:32:39 -07:00
Cameron Gutman
080dcd92d7 Suppress a warning 2014-09-27 15:45:54 -07:00
Cameron Gutman
a3106bffca Speed up initial discovery by generating a new keypair while discovering machines. 2014-09-27 15:42:12 -07:00
Cameron Gutman
94a26fb831 Force CPU decoding to low performance to make the experience less horrible 2014-09-26 20:50:34 -07:00
Cameron Gutman
1b026f1354 Merge branch 'master' into root
Conflicts:
	AndroidManifest.xml
	src/com/limelight/binding/input/evdev/EvdevWatcher.java
2014-09-20 02:54:15 -07:00
Cameron Gutman
a9fea34ac1 Add support for adaptive resolution changes. It's enabled by default on devices that claim support (KitKat+) or decoders that we know are okay. I pulled in jcodec to allow us to do proper SPS fixups without hardcoded offsets. 2014-09-19 22:25:38 -07:00
Cameron Gutman
5577d48dcf Don't crash if no files are present in /dev/input 2014-09-15 18:50:38 -07:00
Cameron Gutman
e92a281fd8 Close the fd to wake the reading thread up for termination 2014-09-10 02:45:21 -07:00
Cameron Gutman
d428f316b4 Don't unbind after an unexpected event 2014-09-10 01:57:24 -07:00
Cameron Gutman
828f4877b6 Only bind to keyboards and mice that aren't gamepads 2014-09-06 16:25:09 -07:00
Cameron Gutman
77c8051ec6 Add support for keyboard and mouse combo devices in raw input mode 2014-09-06 14:09:09 -07:00
Cameron Gutman
819c5e823c Fix a bug where an error change any permissions would cause the operation to fail and other files to not be changed 2014-09-04 00:27:05 -07:00
Cameron Gutman
6bae056e3a Fix a bug where an error change any permissions would cause the operation to fail and other files to not be changed 2014-09-03 23:33:25 -07:00
Cameron Gutman
66eb890462 More tap threshold tuning 2014-09-03 23:06:23 -07:00
Cameron Gutman
cde8ec8262 Add vertical mouse scrolling support 2014-09-03 22:53:40 -07:00
Cameron Gutman
ef1429a639 Increase the movement threshold to improve click success rate 2014-09-03 21:40:20 -07:00
Cameron Gutman
85a011eb84 Add a full decoder dump to the exception string 2014-09-03 21:34:55 -07:00
Cameron Gutman
b5e585834d Throw a special RendererException when we have a MediaCodec crash so we have much more info for debugging 2014-09-03 21:25:26 -07:00
Cameron Gutman
ae298fbc51 Workaround the case where a buggy codec causes findSafeDecoder to fail 2014-09-03 20:48:30 -07:00
Cameron Gutman
c02e1ed006 Stop the decoder in the stop() function 2014-09-03 20:40:43 -07:00
Cameron Gutman
178c53ee84 Propagate the possible exceptions during codec capability checks to the caller so a nice dialog can be displayed instead of crashing on buggy ROMs. Small change to evdev shutdown. 2014-09-03 20:00:00 -07:00
Cameron Gutman
3e017625a9 Raw mouse input is working 2014-09-02 00:41:33 -07:00
Cameron Gutman
bc166a713d More bugfixes for Evdev code. Enable ROOT_BUILD since it's the root branch. 2014-09-01 23:38:47 -07:00
Cameron Gutman
f4546ba188 Raw mouse input WIP 2014-09-01 22:19:12 -07:00
Cameron Gutman
e8dd3511db Add some tolerance in the tap to click code. Implement right clicking. 2014-09-01 14:03:55 -07:00
Cameron Gutman
5fdd9b773c Workaround decoder errata of the Exynos 4 2014-08-29 15:38:08 -07:00
Cameron Gutman
e3e7ac1e68 Remove rounding on triggers 2014-08-20 22:14:03 -07:00
Cameron Gutman
10212bd38b Fix potential integer overflow issue with stick axes 2014-08-20 22:12:45 -07:00
Cameron Gutman
4bec02f47f Implement a scaled radial deadzone rather than our previous dumb axial deadzones 2014-08-20 22:10:59 -07:00
Cameron Gutman
9393bf7f79 Fix a regression in video scaling after the CPU decoding fix 2014-08-06 22:33:41 -07:00
Cameron Gutman
b2ad259a7c Also add bitstream restrictions to Qualcomm devices to hopefully address the GS3 issue 2014-08-06 17:22:41 -07:00
Cameron Gutman
8887401644 Fix surface sizing with scaling disabled on the CPU decoder 2014-08-05 23:16:02 -07:00
Cameron Gutman
829532c572 Some devices don't properly get interrupted while waiting for an input buffer, so wait 100 ms then check the interrupt flag 2014-08-05 21:29:21 -07:00
Cameron Gutman
e1e4ccf318 Fix Shield's hardware back button 2014-07-21 23:57:28 -07:00
Cameron Gutman
428d37afd4 Improve input device detection 2014-07-19 03:50:37 -07:00
Cameron Gutman
f5ec665115 Park for a bit if there's nothing to do 2014-07-19 03:49:44 -07:00
Cameron Gutman
4258ac752e Add specific CPU detection for the emulator 2014-07-13 21:21:47 -07:00
Cameron Gutman
993711ccfe Don't report decoding time for software decoder because it generally doesn't capture the information we want due to CPU overhead 2014-07-12 13:46:39 -07:00
Cameron Gutman
d1ef912984 Remove the remaining allocations in the AV paths 2014-07-12 13:38:28 -07:00
Cameron Gutman
d2f8ee8b81 Add timekeeping stats to CPU decoder 2014-07-10 18:59:05 -07:00
Cameron Gutman
91e68c0580 Include rendering time in the total decoding time 2014-07-10 18:47:30 -07:00
Cameron Gutman
2ab14cdbf5 Suppress a Lint warning and remove a trace 2014-07-04 12:12:12 -07:00