mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-15 23:06:40 +00:00
Change ALooper_pollAll in android_input_poll from a non blocking call into a 1 ms
blocking call. For some reason this allows more input events to queue up in the input queue for processing making it easier to press multiple gamepad buttons and have it register within a single frame.
This commit is contained in:
parent
96de4b3e0e
commit
58c5cc6f46
@ -1044,7 +1044,7 @@ static void android_input_poll(void *data)
|
||||
|
||||
while ((ident =
|
||||
ALooper_pollAll((input_driver_ctl(RARCH_INPUT_CTL_KEY_PRESSED, &key))
|
||||
? -1 : 0,
|
||||
? -1 : 1,
|
||||
NULL, NULL, NULL)) >= 0)
|
||||
{
|
||||
switch (ident)
|
||||
|
Loading…
Reference in New Issue
Block a user