21 #include "../../SDL_internal.h" 23 #if SDL_VIDEO_DRIVER_UIKIT 25 #include "../../events/SDL_events_c.h" 30 #import <Foundation/Foundation.h> 32 static BOOL UIKit_EventPumpEnabled = YES;
37 UIKit_EventPumpEnabled =
enabled;
43 if (!UIKit_EventPumpEnabled) {
53 const CFTimeInterval seconds = 0.000002;
58 result = CFRunLoopRunInMode(kCFRunLoopDefaultMode, seconds,
TRUE);
59 }
while (result == kCFRunLoopRunHandledSource);
63 result = CFRunLoopRunInMode((CFStringRef)UITrackingRunLoopMode, seconds,
TRUE);
64 }
while(result == kCFRunLoopRunHandledSource);
void UIKit_PumpEvents(_THIS)
GLenum GLenum GLsizei const GLuint GLboolean enabled
#define SDL_iPhoneSetEventPump