mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-23 02:31:39 +00:00
Android: Don't use separate thread for MotionAlertDialog
This is an Android continuation of bc95c00
. We now call
InputDetector::Update immediately after receiving an input event from
Android instead of periodically calling it in a sleep loop. This
improves detection of very short inputs, which are especially likely to
occur for volume buttons on phones (or at least on my phone) if you
don't intentionally keep them held down.
This commit is contained in:
parent
1515cf6ccd
commit
516c1314d2
10 changed files with 210 additions and 90 deletions
|
@ -112,6 +112,9 @@ jclass GetCoreDeviceControlClass();
|
|||
jfieldID GetCoreDeviceControlPointer();
|
||||
jmethodID GetCoreDeviceControlConstructor();
|
||||
|
||||
jclass GetInputDetectorClass();
|
||||
jfieldID GetInputDetectorPointer();
|
||||
|
||||
jmethodID GetRunnableRun();
|
||||
|
||||
} // namespace IDCache
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue