Commit Graph

373 Commits

Author SHA1 Message Date
Cameron Gutman e92a281fd8 Close the fd to wake the reading thread up for termination v2.5.4.1 2014-09-10 02:45:21 -07:00
Cameron Gutman b4c3f9678a Use poll() to avoid an infinite blocking read() that causes ANRs during cleanup 2014-09-10 02:35:55 -07:00
Cameron Gutman 82f79c466a Version to 2.5.4.1 2014-09-10 01:57:59 -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 09e8e8e6b3 Remove isMouse() and replace it with more precise has*() functions 2014-09-06 16:03: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 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 bb869a51fd Start using com.limelight.root package name 2014-09-03 23:32:37 -07:00
Cameron Gutman 25b3d08bb9 Revert "Remove root-specific stuff. DO NOT MERGE TO root!"
This reverts commit 2c23dbd2be.
2014-09-03 23:08:54 -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 2c23dbd2be Remove root-specific stuff. DO NOT MERGE TO root! 2014-09-03 19:44:48 -07:00
Cameron Gutman 3e017625a9 Raw mouse input is working 2014-09-02 00:41:33 -07:00
Cameron Gutman 124037ce27 Rebuild libevdev_reader.so 2014-09-01 23:40:25 -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 364a9fa7d7 Add evdev_reader JNI library 2014-09-01 23:04:15 -07:00
Cameron Gutman f4546ba188 Raw mouse input WIP 2014-09-01 22:19:12 -07:00
Cameron Gutman 5de2a8f6ec Remove unused import 2014-09-01 20:33:31 -07:00
Cameron Gutman 2365cd2978 Add option to disable toasts 2014-09-01 18:31:45 -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 ae40a9736a "Fix" a null pointer exception 2014-09-01 12:36:45 -07:00
Cameron Gutman 08cc93d337 Update common and increment version v2.5.3.1 2014-08-29 16:06: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 79f888fe47 Update common v2.5.3 2014-08-09 03:41:03 -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 1b1d4399a9 Bump version and update common 2014-08-06 17:24:21 -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 ac5c264090 Only close spinner dialogs corresponding to the current activity 2014-08-06 15:05:26 -07:00
Cameron Gutman fcfdd4e323 Add missing Cursor.close() calls to fix a crash reported on Ouya 2014-08-06 15:01:18 -07:00
Cameron Gutman ea65bb2c0a Remove the extra app list update when the activity is first started 2014-08-06 14:30:19 -07:00
Cameron Gutman b340055588 If the activity is being finished, don't dismiss the dialog. This is already handled in the closeDialogs() function. 2014-08-06 14:26:13 -07:00
Cameron Gutman 2918039b6f Fix a bug where we'd add a null entry to the computer list 2014-08-05 23:44:04 -07:00
Cameron Gutman e8fd1f262a Update common jar 2014-08-05 23:19:37 -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 f892db6ee8 Fix ANR when switching from the PC view to the app view 2014-08-05 22:30:11 -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 875eb1e773 Update common and version v2.5.2.1 2014-07-31 15:23:31 -07:00
Cameron Gutman f295289774 Increment version v2.5.2 2014-07-31 01:41:30 -07:00
Cameron Gutman 1f69b4f271 Update to new common 2014-07-31 01:33:32 -07:00
Cameron Gutman 20a5a844db Fix crash with WoL if a MAC address isn't present 2014-07-31 01:32:59 -07:00