Skip to content

Commit

Permalink
Reverted previous commit which breaks game controller input processing.
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Sep 9, 2016
1 parent 61c0f2c commit 1096f32
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/video/uikit/SDL_uikitevents.m
Expand Up @@ -56,9 +56,14 @@ touch events to get processed (which is important to get certain
/* Pump most event types. */
SInt32 result;
do {
result = CFRunLoopRunInMode(kCFRunLoopCommonModes, seconds, TRUE);
result = CFRunLoopRunInMode(kCFRunLoopDefaultMode, seconds, TRUE);
} while (result == kCFRunLoopRunHandledSource);

/* Make sure UIScrollView objects scroll properly. */
do {
result = CFRunLoopRunInMode((CFStringRef)UITrackingRunLoopMode, seconds, TRUE);
} while(result == kCFRunLoopRunHandledSource);

/* See the comment in the function definition. */
UIKit_GL_RestoreCurrentContext();
}
Expand Down

0 comments on commit 1096f32

Please sign in to comment.