Commits

Leonard Ritter  committed 9534a29

added support for SDL events

  • Participants
  • Parent commits f9e58ba

Comments (0)

Files changed (5)

File predefs/sdl.pypredef

-def SDL_HideWindow(*argv):
-    """SDL_HideWindow"""
-
-def SDL_LowerBlitScaled(*argv):
-    """SDL_LowerBlitScaled"""
+def SDL_JoystickGetAxis(*argv):
+    """SDL_JoystickGetAxis"""
 
 def SDL_SetWindowTitle(*argv):
     """SDL_SetWindowTitle"""
 def SDL_SetSurfaceRLE(*argv):
     """SDL_SetSurfaceRLE"""
 
-SDL_WINDOWEVENT_NONE = int
-def SDL_ReadBE32(*argv):
-    """SDL_ReadBE32"""
-
-SDL_GL_ACCELERATED_VISUAL = int
-def SDL_GetNumVideoDrivers(*argv):
-    """SDL_GetNumVideoDrivers"""
-
-def SDL_RWFromFP(*argv):
-    """SDL_RWFromFP"""
-
-def SDL_UnionRect(*argv):
-    """SDL_UnionRect"""
-
-def SDL_MasksToPixelFormatEnum(*argv):
-    """SDL_MasksToPixelFormatEnum"""
+SDL_DROPFILE = int
+SDL_HAT_CENTERED = int
+SDL_SCANCODE_NONUSHASH = int
+def SDL_JoystickNumBalls(*argv):
+    """SDL_JoystickNumBalls"""
 
 def SDL_GetNumVideoDisplays(*argv):
     """SDL_GetNumVideoDisplays"""
 
-def SDL_SetWindowBrightness(*argv):
-    """SDL_SetWindowBrightness"""
+def SDL_GetMouseState(*argv):
+    """SDL_GetMouseState"""
 
-def SDL_GL_UnloadLibrary(*argv):
-    """SDL_GL_UnloadLibrary"""
+SDL_KEYDOWN = int
+def SDL_ShowCursor(*argv):
+    """SDL_ShowCursor"""
 
-SDL_WINDOWEVENT_MOVED = int
-SDL_GL_DOUBLEBUFFER = int
-def SDL_GL_GetProcAddress(*argv):
-    """SDL_GL_GetProcAddress"""
-
-def SDL_UpdateWindowSurface(*argv):
-    """SDL_UpdateWindowSurface"""
-
-SDL_GL_SHARE_WITH_CURRENT_CONTEXT = int
+SDL_SCANCODE_RETURN2 = int
+SDL_SCANCODE_AUDIOPLAY = int
 def SDL_ClearError(*argv):
     """SDL_ClearError"""
 
-def SDL_GetWindowData(*argv):
-    """SDL_GetWindowData"""
-
+SDL_SCANCODE_KP_6 = int
+SDL_SCANCODE_KP_HASH = int
 def SDL_GL_GetSwapInterval(*argv):
     """SDL_GL_GetSwapInterval"""
 
-SDL_WINDOW_INPUT_FOCUS = int
-def SDL_SetWindowGrab(*argv):
-    """SDL_SetWindowGrab"""
-
-def SDL_SetSurfaceColorMod(*argv):
-    """SDL_SetSurfaceColorMod"""
+SDL_JOYAXISMOTION = int
+def SDL_GetMouseFocus(*argv):
+    """SDL_GetMouseFocus"""
 
 def SDL_GetCurrentVideoDriver(*argv):
     """SDL_GetCurrentVideoDriver"""
 
-SDL_WINDOW_BORDERLESS = int
-SDL_GL_BLUE_SIZE = int
-def SDL_SetWindowData(*argv):
-    """SDL_SetWindowData"""
+SDL_SCANCODE_COPY = int
+SDL_SCANCODE_GRAVE = int
+def SDL_CreateCursor(*argv):
+    """SDL_CreateCursor"""
 
-def SDL_WasInit(*argv):
-    """SDL_WasInit"""
+SDL_SCANCODE_CAPSLOCK = int
+SDL_SCANCODE_PAGEDOWN = int
+def SDL_GetScancodeFromKey(*argv):
+    """SDL_GetScancodeFromKey"""
 
-def SDL_ReadLE64(*argv):
-    """SDL_ReadLE64"""
+SDL_INIT_VIDEO = int
+SDL_SCANCODE_KP_DECIMAL = int
+def SDL_SetTextInputRect(*argv):
+    """SDL_SetTextInputRect"""
 
-SDL_WINDOWEVENT_HIDDEN = int
-SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG = int
-SDL_WINDOWEVENT_SIZE_CHANGED = int
-SDL_EFREAD = int
-SDL_INIT_VIDEO = int
-SDL_BLENDMODE_ADD = int
-SDL_INIT_HAPTIC = int
-def SDL_SetClipRect(*argv):
-    """SDL_SetClipRect"""
+def SDL_JoystickOpened(*argv):
+    """SDL_JoystickOpened"""
 
-def SDL_AllocFormat(*argv):
-    """SDL_AllocFormat"""
-
-def SDL_HasIntersection(*argv):
-    """SDL_HasIntersection"""
-
-SDL_DONTFREE = int
-def SDL_SetError(*argv):
-    """SDL_SetError"""
-
+SDL_INPUTWHEEL = int
+SDL_SCANCODE_PAGEUP = int
+SDL_SCANCODE_STOP = int
 def SDL_SetSurfaceBlendMode(*argv):
     """SDL_SetSurfaceBlendMode"""
 
-def SDL_IsScreenSaverEnabled(*argv):
-    """SDL_IsScreenSaverEnabled"""
+SDL_GL_MULTISAMPLEBUFFERS = int
+SDL_SCANCODE_THOUSANDSSEPARATOR = int
+SDL_BUTTON_X1 = int
+SDL_BUTTON_X2 = int
+def SDL_GL_SetSwapInterval(*argv):
+    """SDL_GL_SetSwapInterval"""
 
-def SDL_GetWindowPixelFormat(*argv):
-    """SDL_GetWindowPixelFormat"""
+SDL_IGNORE = int
+SDL_WINDOWEVENT_MAXIMIZED = int
+def SDL_UnionRect(*argv):
+    """SDL_UnionRect"""
 
-SDL_WINDOWEVENT_MAXIMIZED = int
-def SDL_RaiseWindow(*argv):
-    """SDL_RaiseWindow"""
+def SDL_HideWindow(*argv):
+    """SDL_HideWindow"""
 
-SDL_BLENDMODE_MOD = int
-SDL_WINDOWEVENT_RESIZED = int
-def SDL_RWFromConstMem(*argv):
-    """SDL_RWFromConstMem"""
+SDL_SCANCODE_KP_LEFTPAREN = int
+def SDL_ReadBE16(*argv):
+    """SDL_ReadBE16"""
 
-SDL_INIT_AUDIO = int
-SDL_UNSUPPORTED = int
-def SDL_SetColorKey(*argv):
-    """SDL_SetColorKey"""
-
-SDL_GL_ACCUM_ALPHA_SIZE = int
-def SDL_GetWindowSurface(*argv):
-    """SDL_GetWindowSurface"""
-
-def SDL_SetWindowSize(*argv):
-    """SDL_SetWindowSize"""
-
-def SDL_SetWindowPosition(*argv):
-    """SDL_SetWindowPosition"""
-
-SDL_GL_ACCUM_RED_SIZE = int
+SDL_HAT_RIGHT = int
+SDL_QUERY = int
+SDL_SCANCODE_SEPARATOR = int
+SDL_QUIT = int
 def SDL_GetWindowTitle(*argv):
     """SDL_GetWindowTitle"""
 
 SDL_GL_CONTEXT_FLAGS = int
-def SDL_DestroyWindow(*argv):
-    """SDL_DestroyWindow"""
-
-def SDL_FillRect(*argv):
-    """SDL_FillRect"""
-
-def SDL_GetWindowID(*argv):
-    """SDL_GetWindowID"""
-
-def SDL_LockSurface(*argv):
-    """SDL_LockSurface"""
-
-SDL_WINDOWEVENT_ENTER = int
-def SDL_GetWindowFlags(*argv):
-    """SDL_GetWindowFlags"""
-
-SDL_GL_CONTEXT_MAJOR_VERSION = int
+SDL_WINDOWEVENT_NONE = int
+SDL_SCANCODE_MAIL = int
+SDL_WINDOWEVENT = int
+SDL_SCANCODE_EJECT = int
 def SDL_GL_CreateContext(*argv):
     """SDL_GL_CreateContext"""
 
-SDL_INIT_JOYSTICK = int
-SDL_WINDOWEVENT_RESTORED = int
-def SDL_VideoQuit(*argv):
-    """SDL_VideoQuit"""
+SDL_DISABLE = int
+SDL_SCANCODE_9 = int
+SDL_SCANCODE_8 = int
+def SDL_HideScreenKeyboard(*argv):
+    """SDL_HideScreenKeyboard"""
 
-SDL_GL_MULTISAMPLEBUFFERS = int
-SDL_BlitScaled = long
-SDL_GL_CONTEXT_MINOR_VERSION = int
-SDL_GL_ACCUM_GREEN_SIZE = int
-def SDL_WriteLE32(*argv):
-    """SDL_WriteLE32"""
+SDL_SCANCODE_5 = int
+SDL_SCANCODE_AC_HOME = int
+SDL_SCANCODE_7 = int
+SDL_SCANCODE_1 = int
+SDL_SCANCODE_0 = int
+SDL_SCANCODE_3 = int
+SDL_SCANCODE_2 = int
+SDL_SCANCODE_M = int
+SDL_SCANCODE_L = int
+SDL_SCANCODE_O = int
+SDL_SCANCODE_N = int
+SDL_SCANCODE_I = int
+SDL_SCANCODE_H = int
+SDL_SCANCODE_K = int
+SDL_SCANCODE_J = int
+SDL_SCANCODE_E = int
+SDL_SCANCODE_D = int
+SDL_SCANCODE_G = int
+SDL_SCANCODE_F = int
+SDL_SCANCODE_A = int
+SDL_WINDOW_MOUSE_FOCUS = int
+SDL_SCANCODE_C = int
+SDL_SCANCODE_B = int
+SDL_SCANCODE_Y = int
+SDL_SCANCODE_X = int
+SDL_MOUSEWHEEL = int
+SDL_SCANCODE_Z = int
+SDL_SCANCODE_U = int
+SDL_SCANCODE_T = int
+SDL_SCANCODE_W = int
+SDL_SCANCODE_V = int
+SDL_SCANCODE_Q = int
+SDL_SCANCODE_P = int
+SDL_SCANCODE_S = int
+def SDL_AddEventWatch(*argv):
+    """SDL_AddEventWatch"""
 
-SDL_EFSEEK = int
-def SDL_GetWindowGammaRamp(*argv):
-    """SDL_GetWindowGammaRamp"""
-
-def SDL_LowerBlit(*argv):
-    """SDL_LowerBlit"""
-
-SDL_WINDOW_MOUSE_FOCUS = int
-SDL_WINDOWPOS_UNDEFINED_MASK = int
-def SDL_SetWindowDisplayMode(*argv):
-    """SDL_SetWindowDisplayMode"""
-
-SDL_GL_CONTEXT_PROFILE_MASK = int
-SDL_SWSURFACE = int
-def SDL_GetColorKey(*argv):
-    """SDL_GetColorKey"""
-
-def SDL_GetWindowPosition(*argv):
-    """SDL_GetWindowPosition"""
-
-SDL_LASTERROR = int
-SDL_GL_RED_SIZE = int
-SDL_GL_CONTEXT_PROFILE_COMPATIBILITY = int
-SDL_GL_GREEN_SIZE = int
-SDL_WINDOWEVENT_CLOSE = int
-def SDL_ShowWindow(*argv):
-    """SDL_ShowWindow"""
-
-SDL_GL_CONTEXT_EGL = int
-SDL_WINDOW_OPENGL = int
-SDL_WINDOW_FOREIGN = int
-def SDL_GL_ExtensionSupported(*argv):
-    """SDL_GL_ExtensionSupported"""
-
-def SDL_GetClipRect(*argv):
-    """SDL_GetClipRect"""
-
+SDL_SCANCODE_KP_DIVIDE = int
 def SDL_Error(*argv):
     """SDL_Error"""
 
-def SDL_WriteBE16(*argv):
-    """SDL_WriteBE16"""
-
+SDL_GL_SHARE_WITH_CURRENT_CONTEXT = int
+SDL_SCANCODE_PASTE = int
 def SDL_GetWindowDisplayMode(*argv):
     """SDL_GetWindowDisplayMode"""
 
-SDL_GL_RETAINED_BACKING = int
-SDL_INIT_TIMER = int
-def SDL_ReadBE16(*argv):
-    """SDL_ReadBE16"""
+def SDL_FreeRW(*argv):
+    """SDL_FreeRW"""
 
+SDL_SCANCODE_END = int
 def SDL_ConvertSurface(*argv):
     """SDL_ConvertSurface"""
 
-def SDL_WriteBE64(*argv):
-    """SDL_WriteBE64"""
+def SDL_AllocFormat(*argv):
+    """SDL_AllocFormat"""
 
 def SDL_ReadLE32(*argv):
     """SDL_ReadLE32"""
 def SDL_GetPixelFormatName(*argv):
     """SDL_GetPixelFormatName"""
 
+def SDL_CreateRGBSurfaceFrom(*argv):
+    """SDL_CreateRGBSurfaceFrom"""
+
+SDL_SCANCODE_COMMA = int
+def SDL_StartTextInput(*argv):
+    """SDL_StartTextInput"""
+
+def SDL_LockSurface(*argv):
+    """SDL_LockSurface"""
+
+SDL_SCANCODE_NUMLOCKCLEAR = int
+SDL_JOYBUTTONDOWN = int
+SDL_SCANCODE_MINUS = int
+SDL_BUTTON_RMASK = int
+def SDL_JoystickGetBall(*argv):
+    """SDL_JoystickGetBall"""
+
+def SDL_GetWindowGammaRamp(*argv):
+    """SDL_GetWindowGammaRamp"""
+
+SDL_ENOMEM = int
+def SDL_GetScancodeName(*argv):
+    """SDL_GetScancodeName"""
+
+def SDL_GetColorKey(*argv):
+    """SDL_GetColorKey"""
+
+def SDL_GetError(*argv):
+    """SDL_GetError"""
+
+def SDL_UpperBlitScaled(*argv):
+    """SDL_UpperBlitScaled"""
+
+def SDL_SetWindowGrab(*argv):
+    """SDL_SetWindowGrab"""
+
+SDL_SCANCODE_KP_SPACE = int
+SDL_EFSEEK = int
+def SDL_EnableScreenSaver(*argv):
+    """SDL_EnableScreenSaver"""
+
+SDL_SCANCODE_KP_PERCENT = int
+SDL_SCANCODE_KP_MEMCLEAR = int
+SDL_LASTERROR = int
+SDL_WINDOW_RESIZABLE = int
+def SDL_GetKeyboardFocus(*argv):
+    """SDL_GetKeyboardFocus"""
+
+SDL_WINDOWPOS_CENTERED = int
+SDL_SCANCODE_AC_STOP = int
+def SDL_LoadBMP_RW(*argv):
+    """SDL_LoadBMP_RW"""
+
+SDL_SCANCODE_KP_VERTICALBAR = int
+SDL_SCANCODE_KP_PERIOD = int
+SDL_TEXTEDITINGEVENT_TEXT_SIZE = int
+def SDL_HasEvents(*argv):
+    """SDL_HasEvents"""
+
+def SDL_GetScancodeFromName(*argv):
+    """SDL_GetScancodeFromName"""
+
+SDL_GL_MULTISAMPLESAMPLES = int
+SDL_FALSE = int
+SDL_WINDOW_MINIMIZED = int
+def SDL_SoftStretch(*argv):
+    """SDL_SoftStretch"""
+
+SDL_MOUSEBUTTONUP = int
+SDL_SCANCODE_R = int
+def SDL_UpperBlit(*argv):
+    """SDL_UpperBlit"""
+
+SDL_SCANCODE_AC_FORWARD = int
+def SDL_WriteLE16(*argv):
+    """SDL_WriteLE16"""
+
+SDL_RLEACCEL = int
+SDL_SCANCODE_KP_BACKSPACE = int
+SDL_SCANCODE_LEFT = int
+def SDL_IsScreenKeyboardShown(*argv):
+    """SDL_IsScreenKeyboardShown"""
+
+def SDL_HasScreenKeyboardSupport(*argv):
+    """SDL_HasScreenKeyboardSupport"""
+
+def SDL_ConvertPixels(*argv):
+    """SDL_ConvertPixels"""
+
+def SDL_FreePalette(*argv):
+    """SDL_FreePalette"""
+
+def SDL_AllocPalette(*argv):
+    """SDL_AllocPalette"""
+
+SDL_SCANCODE_KP_DBLAMPERSAND = int
+SDL_INIT_HAPTIC = int
+SDL_SCANCODE_PERIOD = int
+SDL_SCANCODE_LEFTBRACKET = int
+SDL_SCANCODE_AGAIN = int
+SDL_SCANCODE_PRINTSCREEN = int
+SDL_EFWRITE = int
+SDL_SCANCODE_KP_MEMRECALL = int
+SDL_SCANCODE_COMPUTER = int
+SDL_FINGERUP = int
+def SDL_GetDisplayMode(*argv):
+    """SDL_GetDisplayMode"""
+
+def SDL_LowerBlitScaled(*argv):
+    """SDL_LowerBlitScaled"""
+
+SDL_WINDOW_MAXIMIZED = int
+SDL_JOYBALLMOTION = int
+def SDL_JoystickNumHats(*argv):
+    """SDL_JoystickNumHats"""
+
+SDL_SCANCODE_AC_BACK = int
+SDL_SCANCODE_AC_REFRESH = int
+def SDL_JoystickOpen(*argv):
+    """SDL_JoystickOpen"""
+
+def SDL_MasksToPixelFormatEnum(*argv):
+    """SDL_MasksToPixelFormatEnum"""
+
+def SDL_PumpEvents(*argv):
+    """SDL_PumpEvents"""
+
+SDL_GETEVENT = int
+SDL_SCANCODE_CALCULATOR = int
+SDL_SCANCODE_F1 = int
+def SDL_GetWindowData(*argv):
+    """SDL_GetWindowData"""
+
+SDL_SCANCODE_KP_COLON = int
+SDL_SCANCODE_KP_RIGHTBRACE = int
+SDL_GL_STEREO = int
+SDL_WINDOW_INPUT_FOCUS = int
+SDL_SCANCODE_KP_HEXADECIMAL = int
+SDL_HAT_DOWN = int
+SDL_SCANCODE_F5 = int
+SDL_SCANCODE_RCTRL = int
+def SDL_ReadLE64(*argv):
+    """SDL_ReadLE64"""
+
+def SDL_GL_SetAttribute(*argv):
+    """SDL_GL_SetAttribute"""
+
+SDL_BUTTON_MIDDLE = int
+SDL_SCANCODE_KP_OCTAL = int
+SDL_BLENDMODE_ADD = int
+SDL_SCANCODE_F23 = int
+SDL_SCANCODE_MODE = int
+SDL_SCANCODE_F21 = int
+SDL_SCANCODE_F20 = int
+SDL_SCANCODE_LALT = int
+SDL_SCANCODE_HELP = int
+def SDL_FreeCursor(*argv):
+    """SDL_FreeCursor"""
+
+SDL_INPUTPROXIMITYIN = int
+SDL_SCANCODE_ESCAPE = int
+def SDL_HasEvent(*argv):
+    """SDL_HasEvent"""
+
+SDL_SCANCODE_RETURN = int
+SDL_SCANCODE_KP_DBLVERTICALBAR = int
+def SDL_FreeFormat(*argv):
+    """SDL_FreeFormat"""
+
+def SDL_GetTouch(*argv):
+    """SDL_GetTouch"""
+
+SDL_SCANCODE_FIND = int
+SDL_SCANCODE_RGUI = int
+SDL_GL_ACCUM_ALPHA_SIZE = int
+def SDL_RWFromFile(*argv):
+    """SDL_RWFromFile"""
+
+SDL_SCANCODE_NONUSBACKSLASH = int
+def SDL_GetRelativeMouseState(*argv):
+    """SDL_GetRelativeMouseState"""
+
+def SDL_SetModState(*argv):
+    """SDL_SetModState"""
+
+def SDL_GetKeyboardState(*argv):
+    """SDL_GetKeyboardState"""
+
+def SDL_GetWindowID(*argv):
+    """SDL_GetWindowID"""
+
+SDL_SCANCODE_KP_4 = int
+SDL_SCANCODE_KP_5 = int
+def SDL_SetEventFilter(*argv):
+    """SDL_SetEventFilter"""
+
+SDL_SCANCODE_KP_7 = int
+SDL_SCANCODE_KP_0 = int
+SDL_SCANCODE_KP_1 = int
+SDL_SCANCODE_KP_2 = int
+SDL_SCANCODE_KP_3 = int
+def SDL_VideoQuit(*argv):
+    """SDL_VideoQuit"""
+
+SDL_SCANCODE_KP_8 = int
+SDL_SCANCODE_KP_9 = int
+SDL_SCANCODE_SLASH = int
+SDL_SCANCODE_KP_D = int
+SDL_SCANCODE_KP_E = int
+SDL_SCANCODE_KP_F = int
+SDL_SCANCODE_KP_A = int
+SDL_SCANCODE_KP_B = int
+SDL_SCANCODE_KP_C = int
+SDL_GL_CONTEXT_PROFILE_MASK = int
+SDL_INPUTMOTION = int
+SDL_SCANCODE_SELECT = int
+SDL_GL_CONTEXT_PROFILE_COMPATIBILITY = int
+SDL_GL_GREEN_SIZE = int
+SDL_WINDOWEVENT_CLOSE = int
+def SDL_ShowWindow(*argv):
+    """SDL_ShowWindow"""
+
+SDL_GL_CONTEXT_EGL = int
+SDL_SCANCODE_KBDILLUMDOWN = int
+def SDL_GetClipRect(*argv):
+    """SDL_GetClipRect"""
+
+SDL_SCANCODE_SPACE = int
+def SDL_WriteBE16(*argv):
+    """SDL_WriteBE16"""
+
+SDL_SCANCODE_KP_MEMADD = int
+SDL_INIT_TIMER = int
+SDL_UNSUPPORTED = int
+def SDL_GetNumVideoDrivers(*argv):
+    """SDL_GetNumVideoDrivers"""
+
 def SDL_SetSurfacePalette(*argv):
     """SDL_SetSurfacePalette"""
 
 def SDL_GetWindowBrightness(*argv):
     """SDL_GetWindowBrightness"""
 
-def SDL_SetPaletteColors(*argv):
-    """SDL_SetPaletteColors"""
-
-def SDL_CreateRGBSurfaceFrom(*argv):
-    """SDL_CreateRGBSurfaceFrom"""
-
+SDL_SCANCODE_KP_00 = int
 SDL_PREALLOC = int
-def SDL_GL_GetAttribute(*argv):
-    """SDL_GL_GetAttribute"""
+def SDL_EventState(*argv):
+    """SDL_EventState"""
 
 def SDL_GetNumDisplayModes(*argv):
     """SDL_GetNumDisplayModes"""
 
-def SDL_SetWindowGammaRamp(*argv):
-    """SDL_SetWindowGammaRamp"""
+SDL_MULTIGESTURE = int
+SDL_SCANCODE_KP_ENTER = int
+def SDL_SaveDollarTemplate(*argv):
+    """SDL_SaveDollarTemplate"""
 
-def SDL_EnclosePoints(*argv):
-    """SDL_EnclosePoints"""
+SDL_SCANCODE_KP_CLEARENTRY = int
+def SDL_JoystickIndex(*argv):
+    """SDL_JoystickIndex"""
 
-def SDL_RestoreWindow(*argv):
-    """SDL_RestoreWindow"""
+def SDL_GetRelativeMouseMode(*argv):
+    """SDL_GetRelativeMouseMode"""
 
-def SDL_SetWindowIcon(*argv):
-    """SDL_SetWindowIcon"""
+def SDL_SetWindowSize(*argv):
+    """SDL_SetWindowSize"""
 
-def SDL_GL_SetAttribute(*argv):
-    """SDL_GL_SetAttribute"""
-
-def SDL_GetRGBA(*argv):
-    """SDL_GetRGBA"""
-
-def SDL_GL_LoadLibrary(*argv):
-    """SDL_GL_LoadLibrary"""
-
-def SDL_UnlockSurface(*argv):
-    """SDL_UnlockSurface"""
-
-def SDL_RWFromFile(*argv):
-    """SDL_RWFromFile"""
-
-SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG = int
-SDL_ENOMEM = int
-SDL_BLENDMODE_NONE = int
-def SDL_SetWindowFullscreen(*argv):
-    """SDL_SetWindowFullscreen"""
-
-def SDL_InitSubSystem(*argv):
-    """SDL_InitSubSystem"""
-
-def SDL_FillRects(*argv):
-    """SDL_FillRects"""
-
-def SDL_GetError(*argv):
-    """SDL_GetError"""
-
-def SDL_UpperBlitScaled(*argv):
-    """SDL_UpperBlitScaled"""
-
-SDL_INIT_NOPARACHUTE = int
-def SDL_GetWindowSize(*argv):
-    """SDL_GetWindowSize"""
-
-SDL_ALPHA_OPAQUE = int
 def SDL_GetSurfaceBlendMode(*argv):
     """SDL_GetSurfaceBlendMode"""
 
 def SDL_MinimizeWindow(*argv):
     """SDL_MinimizeWindow"""
 
-SDL_WINDOWEVENT_SHOWN = int
-def SDL_ReadBE64(*argv):
-    """SDL_ReadBE64"""
+def SDL_SetWindowPosition(*argv):
+    """SDL_SetWindowPosition"""
 
-def SDL_ReadLE16(*argv):
-    """SDL_ReadLE16"""
-
-def SDL_GL_SetSwapInterval(*argv):
-    """SDL_GL_SetSwapInterval"""
-
-def SDL_EnableScreenSaver(*argv):
-    """SDL_EnableScreenSaver"""
-
-def SDL_GetCurrentDisplayMode(*argv):
-    """SDL_GetCurrentDisplayMode"""
-
-SDL_WINDOW_FULLSCREEN = int
-SDL_WINDOWEVENT_MINIMIZED = int
-SDL_WINDOW_RESIZABLE = int
+SDL_TEXTEDITING = int
+SDL_SCANCODE_TAB = int
 def SDL_GetSurfaceColorMod(*argv):
     """SDL_GetSurfaceColorMod"""
 
-def SDL_CreateWindow(*argv):
-    """SDL_CreateWindow"""
-
-SDL_WINDOWPOS_CENTERED = int
-def SDL_SaveBMP_RW(*argv):
-    """SDL_SaveBMP_RW"""
-
-SDL_WINDOW_HIDDEN = int
-SDL_GL_ALPHA_SIZE = int
-def SDL_Init(*argv):
-    """SDL_Init"""
-
-def SDL_Quit(*argv):
-    """SDL_Quit"""
-
 def SDL_CreateWindowFrom(*argv):
     """SDL_CreateWindowFrom"""
 
-def SDL_WriteBE32(*argv):
-    """SDL_WriteBE32"""
+SDL_WINDOW_HIDDEN = int
+def SDL_RecordGesture(*argv):
+    """SDL_RecordGesture"""
 
-def SDL_GetRGB(*argv):
-    """SDL_GetRGB"""
+def SDL_PushEvent(*argv):
+    """SDL_PushEvent"""
 
-def SDL_UpdateWindowSurfaceRects(*argv):
-    """SDL_UpdateWindowSurfaceRects"""
-
+SDL_SCANCODE_CURRENCYUNIT = int
 SDL_INIT_EVERYTHING = int
-SDL_WINDOWEVENT_EXPOSED = int
-def SDL_LoadBMP_RW(*argv):
-    """SDL_LoadBMP_RW"""
-
-def SDL_CalculateGammaRamp(*argv):
-    """SDL_CalculateGammaRamp"""
-
-def SDL_QuitSubSystem(*argv):
-    """SDL_QuitSubSystem"""
-
-SDL_WINDOWPOS_UNDEFINED = int
-def SDL_IntersectRect(*argv):
-    """SDL_IntersectRect"""
-
-def SDL_GL_SwapWindow(*argv):
-    """SDL_GL_SwapWindow"""
-
-SDL_BlitSurface = long
-def SDL_VideoInit(*argv):
-    """SDL_VideoInit"""
-
+SDL_BlitSurface = int
 def SDL_GetWindowGrab(*argv):
     """SDL_GetWindowGrab"""
 
+SDL_SCANCODE_RALT = int
 def SDL_IntersectRectAndLine(*argv):
     """SDL_IntersectRectAndLine"""
 
-SDL_GL_STENCIL_SIZE = int
-def SDL_GetDisplayBounds(*argv):
-    """SDL_GetDisplayBounds"""
+SDL_SCANCODE_F12 = int
+def SDL_GetKeyName(*argv):
+    """SDL_GetKeyName"""
 
+SDL_SCANCODE_MEDIASELECT = int
 SDL_WINDOWEVENT_FOCUS_GAINED = int
-def SDL_GetWindowDisplay(*argv):
-    """SDL_GetWindowDisplay"""
-
-SDL_GL_CONTEXT_PROFILE_CORE = int
-SDL_WINDOW_MINIMIZED = int
-SDL_WINDOW_MAXIMIZED = int
-def SDL_GL_MakeCurrent(*argv):
-    """SDL_GL_MakeCurrent"""
-
-SDL_GL_MULTISAMPLESAMPLES = int
-SDL_FALSE = int
-SDL_WINDOWEVENT_LEAVE = int
-def SDL_SoftStretch(*argv):
-    """SDL_SoftStretch"""
-
+SDL_ALPHA_OPAQUE = int
+SDL_SCANCODE_F11 = int
 def SDL_ConvertSurfaceFormat(*argv):
     """SDL_ConvertSurfaceFormat"""
 
-def SDL_MapRGBA(*argv):
-    """SDL_MapRGBA"""
+def SDL_RWFromFP(*argv):
+    """SDL_RWFromFP"""
 
 def SDL_DisableScreenSaver(*argv):
     """SDL_DisableScreenSaver"""
 
-def SDL_SetPixelFormatPalette(*argv):
-    """SDL_SetPixelFormatPalette"""
-
-def SDL_UpperBlit(*argv):
-    """SDL_UpperBlit"""
-
-SDL_GL_STEREO = int
-def SDL_MapRGB(*argv):
-    """SDL_MapRGB"""
-
-SDL_BLENDMODE_BLEND = int
-def SDL_WriteLE16(*argv):
-    """SDL_WriteLE16"""
-
-SDL_RLEACCEL = int
+SDL_SCANCODE_CURRENCYSUBUNIT = int
+SDL_WINDOWEVENT_RESTORED = int
+SDL_SCANCODE_RIGHTBRACKET = int
+SDL_SCANCODE_PAUSE = int
 def SDL_CreateRGBSurface(*argv):
     """SDL_CreateRGBSurface"""
 
-def SDL_FreeFormat(*argv):
-    """SDL_FreeFormat"""
-
+SDL_MOUSEMOTION = int
 def SDL_GL_DeleteContext(*argv):
     """SDL_GL_DeleteContext"""
 
-def SDL_GetClosestDisplayMode(*argv):
-    """SDL_GetClosestDisplayMode"""
-
 SDL_GL_BUFFER_SIZE = int
-SDL_GL_CONTEXT_RESET_ISOLATION_FLAG = int
-SDL_WINDOWPOS_CENTERED_MASK = int
-def SDL_AllocRW(*argv):
-    """SDL_AllocRW"""
-
-SDL_ALPHA_TRANSPARENT = int
 SDL_WINDOW_SHOWN = int
-def SDL_ConvertPixels(*argv):
-    """SDL_ConvertPixels"""
-
+SDL_SCANCODE_KP_XOR = int
 def SDL_PixelFormatEnumToMasks(*argv):
     """SDL_PixelFormatEnumToMasks"""
 
 def SDL_GetVideoDriver(*argv):
     """SDL_GetVideoDriver"""
 
-SDL_GL_CONTEXT_PROFILE_ES = int
-def SDL_FreePalette(*argv):
-    """SDL_FreePalette"""
+def SDL_SetRelativeMouseMode(*argv):
+    """SDL_SetRelativeMouseMode"""
 
-def SDL_MaximizeWindow(*argv):
-    """SDL_MaximizeWindow"""
-
-def SDL_FreeRW(*argv):
-    """SDL_FreeRW"""
-
-def SDL_GetSurfaceAlphaMod(*argv):
-    """SDL_GetSurfaceAlphaMod"""
-
-def SDL_AllocPalette(*argv):
-    """SDL_AllocPalette"""
-
-SDL_GL_CONTEXT_DEBUG_FLAG = int
-def SDL_SetSurfaceAlphaMod(*argv):
-    """SDL_SetSurfaceAlphaMod"""
-
-SDL_TRUE = int
-def SDL_GetDesktopDisplayMode(*argv):
-    """SDL_GetDesktopDisplayMode"""
-
-def SDL_GetWindowFromID(*argv):
-    """SDL_GetWindowFromID"""
+SDL_SCANCODE_AC_SEARCH = int
+SDL_TOUCHBUTTONUP = int
+def SDL_FillRect(*argv):
+    """SDL_FillRect"""
 
 SDL_GL_DEPTH_SIZE = int
-SDL_EFWRITE = int
+SDL_HAT_RIGHTUP = int
 def SDL_FreeSurface(*argv):
     """SDL_FreeSurface"""
 
+SDL_ENABLE = int
+def SDL_StopTextInput(*argv):
+    """SDL_StopTextInput"""
+
 def SDL_RWFromMem(*argv):
     """SDL_RWFromMem"""
 
 SDL_GL_ACCUM_BLUE_SIZE = int
+def SDL_JoystickUpdate(*argv):
+    """SDL_JoystickUpdate"""
+
+SDL_SCANCODE_BACKSPACE = int
+SDL_SCANCODE_HOME = int
+def SDL_WaitEvent(*argv):
+    """SDL_WaitEvent"""
+
+SDL_SCANCODE_LSHIFT = int
+def SDL_FillRects(*argv):
+    """SDL_FillRects"""
+
+def SDL_ReadBE32(*argv):
+    """SDL_ReadBE32"""
+
+def SDL_JoystickGetButton(*argv):
+    """SDL_JoystickGetButton"""
+
+SDL_SCANCODE_KP_MEMSUBTRACT = int
+def SDL_WarpMouseInWindow(*argv):
+    """SDL_WarpMouseInWindow"""
+
+SDL_GL_DOUBLEBUFFER = int
+SDL_SCANCODE_KP_MULTIPLY = int
+def SDL_GL_GetProcAddress(*argv):
+    """SDL_GL_GetProcAddress"""
+
+SDL_FIRSTEVENT = int
+SDL_SCANCODE_KP_MEMDIVIDE = int
+def SDL_GL_MakeCurrent(*argv):
+    """SDL_GL_MakeCurrent"""
+
+SDL_BUTTON_X2MASK = int
+SDL_GL_BLUE_SIZE = int
+def SDL_SetWindowData(*argv):
+    """SDL_SetWindowData"""
+
+def SDL_GetWindowDisplay(*argv):
+    """SDL_GetWindowDisplay"""
+
+def SDL_NumJoysticks(*argv):
+    """SDL_NumJoysticks"""
+
+SDL_WINDOWEVENT_HIDDEN = int
+SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG = int
+SDL_SCANCODE_MENU = int
+def SDL_GetWindowFromID(*argv):
+    """SDL_GetWindowFromID"""
+
+SDL_SCANCODE_KP_CLEAR = int
+SDL_SCANCODE_BRIGHTNESSUP = int
+SDL_SCANCODE_4 = int
+SDL_HAT_UP = int
+SDL_SCANCODE_UP = int
+def SDL_RegisterEvents(*argv):
+    """SDL_RegisterEvents"""
+
+SDL_SCANCODE_6 = int
+SDL_SCANCODE_MUTE = int
+def SDL_SaveAllDollarTemplates(*argv):
+    """SDL_SaveAllDollarTemplates"""
+
+SDL_BUTTON_LMASK = int
+def SDL_GetWindowPixelFormat(*argv):
+    """SDL_GetWindowPixelFormat"""
+
+def SDL_RWFromConstMem(*argv):
+    """SDL_RWFromConstMem"""
+
+def SDL_RestoreWindow(*argv):
+    """SDL_RestoreWindow"""
+
+SDL_SCANCODE_KP_BINARY = int
+def SDL_ReadLE16(*argv):
+    """SDL_ReadLE16"""
+
+SDL_INIT_NOPARACHUTE = int
+def SDL_JoystickClose(*argv):
+    """SDL_JoystickClose"""
+
+SDL_SCANCODE_F18 = int
+SDL_SCANCODE_F19 = int
+def SDL_SetCursor(*argv):
+    """SDL_SetCursor"""
+
+SDL_SCANCODE_KP_TAB = int
+SDL_SCANCODE_VOLUMEDOWN = int
+SDL_SCANCODE_F13 = int
+SDL_SCANCODE_F10 = int
+SDL_PRESSED = int
+SDL_SCANCODE_F16 = int
+SDL_SCANCODE_F17 = int
+SDL_SCANCODE_F14 = int
+SDL_SCANCODE_F15 = int
+SDL_SCANCODE_DECIMALSEPARATOR = int
+def SDL_GetWindowFlags(*argv):
+    """SDL_GetWindowFlags"""
+
+SDL_GL_CONTEXT_MAJOR_VERSION = int
+def SDL_ShowScreenKeyboard(*argv):
+    """SDL_ShowScreenKeyboard"""
+
+def SDL_Quit(*argv):
+    """SDL_Quit"""
+
+SDL_GL_CONTEXT_MINOR_VERSION = int
+SDL_PEEKEVENT = int
+def SDL_WriteLE32(*argv):
+    """SDL_WriteLE32"""
+
+SDL_SCANCODE_PRIOR = int
+def SDL_LowerBlit(*argv):
+    """SDL_LowerBlit"""
+
+SDL_SCANCODE_KP_RIGHTPAREN = int
+SDL_WINDOWPOS_UNDEFINED_MASK = int
+SDL_SCANCODE_UNKNOWN = int
+SDL_SWSURFACE = int
+SDL_SCANCODE_LGUI = int
+SDL_SCANCODE_LANG9 = int
+SDL_SCANCODE_LANG8 = int
+def SDL_GetWindowPosition(*argv):
+    """SDL_GetWindowPosition"""
+
+SDL_SCANCODE_CANCEL = int
+def SDL_JoystickGetHat(*argv):
+    """SDL_JoystickGetHat"""
+
+SDL_SCANCODE_BRIGHTNESSDOWN = int
+SDL_SCANCODE_LANG1 = int
+def SDL_GetRGB(*argv):
+    """SDL_GetRGB"""
+
+SDL_SCANCODE_LANG3 = int
+SDL_SCANCODE_LANG2 = int
+SDL_SCANCODE_KP_LESS = int
+SDL_SCANCODE_LANG4 = int
+SDL_SCANCODE_LANG7 = int
+SDL_SCANCODE_LANG6 = int
+SDL_SCANCODE_EXSEL = int
+SDL_SCANCODE_SEMICOLON = int
+def SDL_SetWindowDisplayMode(*argv):
+    """SDL_SetWindowDisplayMode"""
+
+SDL_INPUTBUTTONUP = int
+SDL_GL_ACCUM_GREEN_SIZE = int
+SDL_SCANCODE_APPLICATION = int
+def SDL_GL_GetAttribute(*argv):
+    """SDL_GL_GetAttribute"""
+
+def SDL_SetWindowGammaRamp(*argv):
+    """SDL_SetWindowGammaRamp"""
+
+def SDL_SetWindowIcon(*argv):
+    """SDL_SetWindowIcon"""
+
+def SDL_GetKeyFromScancode(*argv):
+    """SDL_GetKeyFromScancode"""
+
+def SDL_GetRGBA(*argv):
+    """SDL_GetRGBA"""
+
+def SDL_CreateWindow(*argv):
+    """SDL_CreateWindow"""
+
+def SDL_MapRGB(*argv):
+    """SDL_MapRGB"""
+
+SDL_BLENDMODE_NONE = int
+def SDL_SetWindowFullscreen(*argv):
+    """SDL_SetWindowFullscreen"""
+
+SDL_SCANCODE_KP_MEMMULTIPLY = int
+SDL_SCANCODE_KP_AT = int
+SDL_SCANCODE_CUT = int
+SDL_SCANCODE_INSERT = int
+SDL_SCANCODE_LCTRL = int
+SDL_SCANCODE_VOLUMEUP = int
+SDL_SCANCODE_BACKSLASH = int
+def SDL_ReadBE64(*argv):
+    """SDL_ReadBE64"""
+
+SDL_DONTFREE = int
+SDL_SCANCODE_CLEARAGAIN = int
+SDL_SCANCODE_AUDIOMUTE = int
+def SDL_LoadDollarTemplates(*argv):
+    """SDL_LoadDollarTemplates"""
+
+def SDL_GetCursor(*argv):
+    """SDL_GetCursor"""
+
+SDL_SCANCODE_DISPLAYSWITCH = int
+SDL_GL_RED_SIZE = int
+def SDL_SaveBMP_RW(*argv):
+    """SDL_SaveBMP_RW"""
+
+SDL_SCANCODE_RSHIFT = int
+SDL_TOUCHBUTTONDOWN = int
+def SDL_QuitSubSystem(*argv):
+    """SDL_QuitSubSystem"""
+
+SDL_WINDOWPOS_UNDEFINED = int
+def SDL_VideoInit(*argv):
+    """SDL_VideoInit"""
+
+SDL_SCANCODE_LANG5 = int
+SDL_WINDOW_OPENGL = int
+SDL_DOLLARGESTURE = int
+SDL_NUM_SCANCODES = int
+def SDL_GetDisplayBounds(*argv):
+    """SDL_GetDisplayBounds"""
+
+SDL_SCANCODE_DOWN = int
+SDL_SCANCODE_OUT = int
+SDL_BUTTON_MMASK = int
+SDL_DOLLARRECORD = int
+SDL_BUTTON_X1MASK = int
+SDL_USEREVENT = int
+SDL_SCANCODE_SCROLLLOCK = int
+def SDL_SetPixelFormatPalette(*argv):
+    """SDL_SetPixelFormatPalette"""
+
+SDL_SCANCODE_F2 = int
+SDL_SCANCODE_F3 = int
+SDL_SCANCODE_F4 = int
+SDL_BLENDMODE_BLEND = int
+SDL_SCANCODE_F6 = int
+SDL_SCANCODE_F7 = int
+SDL_SCANCODE_F8 = int
+SDL_SCANCODE_F9 = int
+SDL_INPUTBUTTONDOWN = int
+SDL_RELEASED = int
+SDL_HAT_LEFTUP = int
+def SDL_FilterEvents(*argv):
+    """SDL_FilterEvents"""
+
+SDL_ALPHA_TRANSPARENT = int
+SDL_WINDOWEVENT_SIZE_CHANGED = int
+def SDL_DelEventWatch(*argv):
+    """SDL_DelEventWatch"""
+
+def SDL_SetSurfaceAlphaMod(*argv):
+    """SDL_SetSurfaceAlphaMod"""
+
+SDL_SCANCODE_AUDIONEXT = int
+SDL_SCANCODE_F24 = int
+SDL_SCANCODE_KP_EXCLAM = int
+SDL_MOUSEBUTTONDOWN = int
+SDL_SCANCODE_F22 = int
+SDL_KEYUP = int
+SDL_SCANCODE_WWW = int
+SDL_BUTTON_RIGHT = int
+SDL_SCANCODE_KP_MINUS = int
+SDL_SCANCODE_KBDILLUMTOGGLE = int
+def SDL_WaitEventTimeout(*argv):
+    """SDL_WaitEventTimeout"""
+
+def SDL_SetWindowBrightness(*argv):
+    """SDL_SetWindowBrightness"""
+
+SDL_SCANCODE_EQUALS = int
+SDL_WINDOWEVENT_MOVED = int
+SDL_SCANCODE_KP_PLUSMINUS = int
+SDL_TEXTINPUTEVENT_TEXT_SIZE = int
+SDL_HAT_RIGHTDOWN = int
+def SDL_UpdateWindowSurface(*argv):
+    """SDL_UpdateWindowSurface"""
+
+SDL_SCANCODE_EXECUTE = int
+SDL_SCANCODE_ALTERASE = int
+def SDL_WriteBE64(*argv):
+    """SDL_WriteBE64"""
+
+def SDL_SetSurfaceColorMod(*argv):
+    """SDL_SetSurfaceColorMod"""
+
+SDL_SCANCODE_DELETE = int
+def SDL_WasInit(*argv):
+    """SDL_WasInit"""
+
+def SDL_FlushEvents(*argv):
+    """SDL_FlushEvents"""
+
+SDL_EFREAD = int
+SDL_SCANCODE_KP_PLUS = int
+SDL_INPUTPROXIMITYOUT = int
+def SDL_GetModState(*argv):
+    """SDL_GetModState"""
+
+def SDL_SetClipRect(*argv):
+    """SDL_SetClipRect"""
+
+def SDL_SetError(*argv):
+    """SDL_SetError"""
+
+def SDL_IsScreenSaverEnabled(*argv):
+    """SDL_IsScreenSaverEnabled"""
+
+SDL_SYSWMEVENT = int
+def SDL_RaiseWindow(*argv):
+    """SDL_RaiseWindow"""
+
+SDL_WINDOW_FOREIGN = int
+SDL_WINDOWEVENT_RESIZED = int
+def SDL_JoystickName(*argv):
+    """SDL_JoystickName"""
+
+def SDL_GetWindowSurface(*argv):
+    """SDL_GetWindowSurface"""
+
+SDL_SCANCODE_OPER = int
+SDL_FINGERMOTION = int
+SDL_SCANCODE_POWER = int
+def SDL_ToggleScreenKeyboard(*argv):
+    """SDL_ToggleScreenKeyboard"""
+
+SDL_GL_ACCUM_RED_SIZE = int
+def SDL_IntersectRect(*argv):
+    """SDL_IntersectRect"""
+
+def SDL_JoystickNumAxes(*argv):
+    """SDL_JoystickNumAxes"""
+
+def SDL_DestroyWindow(*argv):
+    """SDL_DestroyWindow"""
+
+def SDL_UpdateWindowSurfaceRects(*argv):
+    """SDL_UpdateWindowSurfaceRects"""
+
+SDL_WINDOWEVENT_ENTER = int
+SDL_SCANCODE_CLEAR = int
+SDL_SCANCODE_AUDIOPREV = int
+SDL_FINGERDOWN = int
+SDL_INIT_JOYSTICK = int
+def SDL_EnclosePoints(*argv):
+    """SDL_EnclosePoints"""
+
+def SDL_PeepEvents(*argv):
+    """SDL_PeepEvents"""
+
+SDL_SCANCODE_KP_AMPERSAND = int
+SDL_SCANCODE_UNDO = int
+SDL_BlitScaled = int
+SDL_SCANCODE_SLEEP = int
+SDL_SCANCODE_CRSEL = int
+SDL_LASTEVENT = int
+SDL_SCANCODE_KP_GREATER = int
+SDL_SCANCODE_KBDILLUMUP = int
+SDL_HAT_LEFTDOWN = int
+SDL_SCANCODE_KP_COMMA = int
+def SDL_GetEventFilter(*argv):
+    """SDL_GetEventFilter"""
+
+SDL_BLENDMODE_MOD = int
+SDL_SCANCODE_RIGHT = int
+def SDL_UnlockSurface(*argv):
+    """SDL_UnlockSurface"""
+
+def SDL_Init(*argv):
+    """SDL_Init"""
+
+SDL_GL_STENCIL_SIZE = int
+SDL_SCANCODE_KP_LEFTBRACE = int
+SDL_SCANCODE_APOSTROPHE = int
+def SDL_GL_ExtensionSupported(*argv):
+    """SDL_GL_ExtensionSupported"""
+
+SDL_SCANCODE_AC_BOOKMARKS = int
+SDL_GL_RETAINED_BACKING = int
+def SDL_JoystickEventState(*argv):
+    """SDL_JoystickEventState"""
+
+SDL_JOYHATMOTION = int
+def SDL_GL_UnloadLibrary(*argv):
+    """SDL_GL_UnloadLibrary"""
+
+SDL_JOYBUTTONUP = int
+def SDL_JoystickNumButtons(*argv):
+    """SDL_JoystickNumButtons"""
+
+def SDL_SetPaletteColors(*argv):
+    """SDL_SetPaletteColors"""
+
+def SDL_SetColorKey(*argv):
+    """SDL_SetColorKey"""
+
+SDL_INIT_AUDIO = int
+SDL_TEXTINPUT = int
+def SDL_GL_LoadLibrary(*argv):
+    """SDL_GL_LoadLibrary"""
+
+def SDL_PollEvent(*argv):
+    """SDL_PollEvent"""
+
+SDL_SCANCODE_KP_EQUALS = int
+SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG = int
+def SDL_GetClosestDisplayMode(*argv):
+    """SDL_GetClosestDisplayMode"""
+
+def SDL_InitSubSystem(*argv):
+    """SDL_InitSubSystem"""
+
+def SDL_CreateColorCursor(*argv):
+    """SDL_CreateColorCursor"""
+
+SDL_SCANCODE_KP_000 = int
+def SDL_GetSurfaceAlphaMod(*argv):
+    """SDL_GetSurfaceAlphaMod"""
+
+def SDL_GetWindowSize(*argv):
+    """SDL_GetWindowSize"""
+
+SDL_SCANCODE_KP_MEMSTORE = int
+SDL_WINDOWEVENT_SHOWN = int
+SDL_CLIPBOARDUPDATE = int
+SDL_BUTTON_LEFT = int
+SDL_GL_ACCELERATED_VISUAL = int
+def SDL_GetCurrentDisplayMode(*argv):
+    """SDL_GetCurrentDisplayMode"""
+
+SDL_WINDOW_FULLSCREEN = int
+SDL_WINDOWEVENT_MINIMIZED = int
+SDL_HAT_LEFT = int
+def SDL_HasIntersection(*argv):
+    """SDL_HasIntersection"""
+
+SDL_GL_ALPHA_SIZE = int
+def SDL_GetKeyFromName(*argv):
+    """SDL_GetKeyFromName"""
+
+SDL_SCANCODE_SYSREQ = int
+def SDL_WriteBE32(*argv):
+    """SDL_WriteBE32"""
+
+SDL_WINDOWEVENT_EXPOSED = int
+def SDL_CalculateGammaRamp(*argv):
+    """SDL_CalculateGammaRamp"""
+
+def SDL_GL_SwapWindow(*argv):
+    """SDL_GL_SwapWindow"""
+
+SDL_SCANCODE_KP_POWER = int
+def SDL_GetFinger(*argv):
+    """SDL_GetFinger"""
+
+def SDL_GetDesktopDisplayMode(*argv):
+    """SDL_GetDesktopDisplayMode"""
+
+SDL_ADDEVENT = int
+SDL_GL_CONTEXT_PROFILE_CORE = int
+SDL_SCANCODE_AUDIOSTOP = int
+SDL_GL_CONTEXT_DEBUG_FLAG = int
+SDL_WINDOWEVENT_LEAVE = int
+def SDL_MapRGBA(*argv):
+    """SDL_MapRGBA"""
+
+def SDL_FlushEvent(*argv):
+    """SDL_FlushEvent"""
+
+SDL_WINDOW_BORDERLESS = int
+SDL_GL_CONTEXT_RESET_ISOLATION_FLAG = int
+SDL_WINDOWPOS_CENTERED_MASK = int
+def SDL_AllocRW(*argv):
+    """SDL_AllocRW"""
+
+SDL_SCANCODE_INTERNATIONAL2 = int
+SDL_SCANCODE_INTERNATIONAL3 = int
+SDL_SCANCODE_INTERNATIONAL1 = int
+SDL_SCANCODE_INTERNATIONAL6 = int
+SDL_SCANCODE_INTERNATIONAL7 = int
+SDL_SCANCODE_INTERNATIONAL4 = int
+SDL_SCANCODE_INTERNATIONAL5 = int
+SDL_GL_CONTEXT_PROFILE_ES = int
+SDL_SCANCODE_INTERNATIONAL8 = int
+SDL_SCANCODE_INTERNATIONAL9 = int
+def SDL_MaximizeWindow(*argv):
+    """SDL_MaximizeWindow"""
+
+SDL_TRUE = int
+SDL_SCANCODE_KP_EQUALSAS400 = int
 def SDL_WriteLE64(*argv):
     """SDL_WriteLE64"""
 
-def SDL_GetDisplayMode(*argv):
-    """SDL_GetDisplayMode"""
-

File sdl/__init__.py

 def SDL_GetError():
     return _ffi.string(_SDL_GetError()) 
 
+def SDL_PollEvent():
+    event = _ffi.new('SDL_Event *')
+    if not _SDL_PollEvent(event):
+        return None
+    return event
+
 ################################################################################
 
 # add wrapped functions
 SDL_UNMANGLED_EXPORTS = [
 "_SDL_GetError",
 "_SDL_Init",
+"_SDL_PollEvent",
 
 ]
 
 SDL_EXPORTS = [
 'SDLError',
-"SDL_HideWindow",
-"SDL_LowerBlitScaled",
+"SDL_JoystickGetAxis",
 "SDL_SetWindowTitle",
 "SDL_SetSurfaceRLE",
-"SDL_WINDOWEVENT_NONE",
-"SDL_ReadBE32",
-"SDL_GL_ACCELERATED_VISUAL",
-"SDL_GetNumVideoDrivers",
-"SDL_RWFromFP",
+"KMOD_LALT",
+"SDL_DROPFILE",
+"SDL_HAT_CENTERED",
+"SDL_SCANCODE_NONUSHASH",
+"SDL_JoystickNumBalls",
+"SDL_GetNumVideoDisplays",
+"SDL_GetMouseState",
+"SDL_KEYDOWN",
+"SDL_ShowCursor",
+"SDL_SCANCODE_RETURN2",
+"SDL_SCANCODE_AUDIOPLAY",
+"SDL_ClearError",
+"SDL_SCANCODE_KP_6",
+"SDL_SCANCODE_KP_HASH",
+"SDL_GL_GetSwapInterval",
+"SDL_JOYAXISMOTION",
+"SDL_GetMouseFocus",
+"SDL_GetCurrentVideoDriver",
+"SDL_SCANCODE_COPY",
+"SDL_SCANCODE_GRAVE",
+"SDL_CreateCursor",
+"SDL_SCANCODE_CAPSLOCK",
+"SDL_SCANCODE_PAGEDOWN",
+"SDL_GetScancodeFromKey",
+"SDL_INIT_VIDEO",
+"SDL_SCANCODE_KP_DECIMAL",
+"SDL_SetTextInputRect",
+"SDL_JoystickOpened",
+"SDL_INPUTWHEEL",
+"SDL_SCANCODE_PAGEUP",
+"SDL_SCANCODE_STOP",
+"SDL_SetSurfaceBlendMode",
+"SDL_GL_MULTISAMPLEBUFFERS",
+"SDL_SCANCODE_THOUSANDSSEPARATOR",
+"SDL_BUTTON_X1",
+"SDL_BUTTON_X2",
+"SDL_GL_SetSwapInterval",
+"SDL_IGNORE",
+"SDL_WINDOWEVENT_MAXIMIZED",
 "SDL_UnionRect",
-"SDL_MasksToPixelFormatEnum",
-"SDL_GetNumVideoDisplays",
-"SDL_SetWindowBrightness",
-"SDL_GL_UnloadLibrary",
-"SDL_WINDOWEVENT_MOVED",
-"SDL_GL_DOUBLEBUFFER",
-"SDL_GL_GetProcAddress",
-"SDL_UpdateWindowSurface",
-"RW_SEEK_END",
-"SDL_GL_SHARE_WITH_CURRENT_CONTEXT",
-"SDL_ClearError",
-"SDL_GetWindowData",
-"SDL_GL_GetSwapInterval",
-"SDL_WINDOW_INPUT_FOCUS",
-"SDL_SetWindowGrab",
-"SDL_SetSurfaceColorMod",
-"RW_SEEK_CUR",
-"SDL_GetCurrentVideoDriver",
-"SDL_WINDOW_BORDERLESS",
-"SDL_GL_BLUE_SIZE",
-"SDL_SetWindowData",
-"SDL_WasInit",
-"SDL_ReadLE64",
-"SDL_WINDOWEVENT_HIDDEN",
-"SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG",
-"SDL_WINDOWEVENT_SIZE_CHANGED",
-"SDL_EFREAD",
-"SDL_INIT_VIDEO",
-"SDL_BLENDMODE_ADD",
-"SDL_INIT_HAPTIC",
-"SDL_SetClipRect",
-"SDL_AllocFormat",
-"SDL_HasIntersection",
-"SDL_DONTFREE",
-"SDL_SetError",
-"SDL_SetSurfaceBlendMode",
-"SDL_IsScreenSaverEnabled",
-"SDL_GetWindowPixelFormat",
-"SDL_WINDOWEVENT_MAXIMIZED",
-"SDL_RaiseWindow",
-"SDL_BLENDMODE_MOD",
-"SDL_WINDOWEVENT_RESIZED",
-"SDL_RWFromConstMem",
-"SDL_INIT_AUDIO",
-"SDL_UNSUPPORTED",
-"SDL_SetColorKey",
-"SDL_GL_ACCUM_ALPHA_SIZE",
-"SDL_GetWindowSurface",
-"SDL_SetWindowSize",
-"SDL_SetWindowPosition",
-"SDL_GL_ACCUM_RED_SIZE",
+"SDL_HideWindow",
+"SDL_SCANCODE_KP_LEFTPAREN",
+"SDL_ReadBE16",
+"SDL_HAT_RIGHT",
+"SDL_QUERY",
+"SDL_SCANCODE_SEPARATOR",
+"SDL_QUIT",
 "SDL_GetWindowTitle",
 "SDL_GL_CONTEXT_FLAGS",
-"SDL_DestroyWindow",
-"SDL_FillRect",
+"SDL_WINDOWEVENT_NONE",
+"SDL_SCANCODE_MAIL",
+"SDL_WINDOWEVENT",
+"SDL_SCANCODE_EJECT",
+"SDL_GL_CreateContext",
+"SDL_DISABLE",
+"SDL_SCANCODE_9",
+"SDL_SCANCODE_8",
+"SDL_HideScreenKeyboard",
+"SDL_SCANCODE_5",
+"SDL_SCANCODE_AC_HOME",
+"SDL_SCANCODE_7",
+"KMOD_NONE",
+"SDL_SCANCODE_1",
+"SDL_SCANCODE_0",
+"SDL_SCANCODE_3",
+"SDL_SCANCODE_2",
+"SDL_SCANCODE_M",
+"SDL_SCANCODE_L",
+"SDL_SCANCODE_O",
+"SDL_SCANCODE_N",
+"SDL_SCANCODE_I",
+"SDL_SCANCODE_H",
+"SDL_SCANCODE_K",
+"SDL_SCANCODE_J",
+"SDL_SCANCODE_E",
+"SDL_SCANCODE_D",
+"SDL_SCANCODE_G",
+"SDL_SCANCODE_F",
+"SDL_SCANCODE_A",
+"SDL_WINDOW_MOUSE_FOCUS",
+"SDL_SCANCODE_C",
+"SDL_SCANCODE_B",
+"SDL_SCANCODE_Y",
+"SDL_SCANCODE_X",
+"SDL_MOUSEWHEEL",
+"SDL_SCANCODE_Z",
+"SDL_SCANCODE_U",
+"SDL_SCANCODE_T",
+"SDL_SCANCODE_W",
+"SDL_SCANCODE_V",
+"SDL_SCANCODE_Q",
+"SDL_SCANCODE_P",
+"SDL_SCANCODE_S",
+"SDL_AddEventWatch",
+"SDL_SCANCODE_KP_DIVIDE",
+"SDL_Error",
+"SDL_GL_SHARE_WITH_CURRENT_CONTEXT",
+"SDL_SCANCODE_PASTE",
+"SDL_GetWindowDisplayMode",
+"SDL_FreeRW",
+"SDL_SCANCODE_END",
+"SDL_ConvertSurface",
+"SDL_AllocFormat",
+"SDL_ReadLE32",
+"SDL_WINDOW_INPUT_GRABBED",
+"SDL_GetPixelFormatName",
+"SDL_CreateRGBSurfaceFrom",
+"SDL_SCANCODE_COMMA",
+"SDL_StartTextInput",
+"SDL_LockSurface",
+"SDL_SCANCODE_NUMLOCKCLEAR",
+"SDL_JOYBUTTONDOWN",
+"SDL_SCANCODE_MINUS",
+"SDL_BUTTON_RMASK",
+"SDL_JoystickGetBall",
+"SDL_GetWindowGammaRamp",
+"SDL_ENOMEM",
+"SDL_GetScancodeName",
+"SDL_GetColorKey",
+"SDL_UpperBlitScaled",
+"SDL_SetWindowGrab",
+"SDL_SCANCODE_KP_SPACE",
+"SDL_EFSEEK",
+"SDL_EnableScreenSaver",
+"SDL_SCANCODE_KP_PERCENT",
+"SDL_SCANCODE_KP_MEMCLEAR",
+"SDL_LASTERROR",
+"SDL_WINDOW_RESIZABLE",
+"SDL_GetKeyboardFocus",
+"SDL_WINDOWPOS_CENTERED",
+"SDL_SCANCODE_AC_STOP",
+"SDL_LoadBMP_RW",
+"SDL_SCANCODE_KP_VERTICALBAR",
+"SDL_SCANCODE_KP_PERIOD",
+"SDL_TEXTEDITINGEVENT_TEXT_SIZE",
+"SDL_HasEvents",
+"SDL_GetScancodeFromName",
+"SDL_GL_MULTISAMPLESAMPLES",
+"SDL_FALSE",
+"SDL_WINDOW_MINIMIZED",
+"SDL_SoftStretch",
+"KMOD_RESERVED",
+"SDL_MOUSEBUTTONUP",
+"SDL_SCANCODE_R",
+"SDL_UpperBlit",
+"SDL_SCANCODE_AC_FORWARD",
+"SDL_WriteLE16",
+"SDL_RLEACCEL",
+"SDL_SCANCODE_KP_BACKSPACE",
+"SDL_SCANCODE_LEFT",
+"SDL_IsScreenKeyboardShown",
+"SDL_HasScreenKeyboardSupport",
+"SDL_ConvertPixels",
+"SDL_FreePalette",
+"SDL_AllocPalette",
+"SDL_SCANCODE_KP_DBLAMPERSAND",
+"SDL_INIT_HAPTIC",
+"SDL_SCANCODE_PERIOD",
+"SDL_SCANCODE_LEFTBRACKET",
+"SDL_SCANCODE_AGAIN",
+"SDL_SCANCODE_PRINTSCREEN",
+"SDL_EFWRITE",
+"SDL_SCANCODE_KP_MEMRECALL",
+"SDL_SCANCODE_COMPUTER",
+"SDL_FINGERUP",
+"SDL_GetDisplayMode",
+"SDL_LowerBlitScaled",
+"SDL_WINDOW_MAXIMIZED",
+"SDL_JOYBALLMOTION",
+"SDL_JoystickNumHats",
+"SDL_SCANCODE_AC_BACK",
+"SDL_SCANCODE_AC_REFRESH",
+"SDL_JoystickOpen",
+"SDL_MasksToPixelFormatEnum",
+"SDL_PumpEvents",
+"SDL_GETEVENT",
+"SDL_SCANCODE_CALCULATOR",
+"SDL_SCANCODE_F1",
+"SDL_GetWindowData",
+"SDL_SCANCODE_KP_COLON",
+"SDL_SCANCODE_KP_RIGHTBRACE",
+"SDL_GL_STEREO",
+"SDL_WINDOW_INPUT_FOCUS",
+"SDL_SCANCODE_KP_HEXADECIMAL",
+"SDL_HAT_DOWN",
+"SDL_SCANCODE_F5",
+"SDL_SCANCODE_RCTRL",
+"SDL_ReadLE64",
+"SDL_GL_SetAttribute",
+"SDL_BUTTON_MIDDLE",
+"SDL_SCANCODE_KP_OCTAL",
+"SDL_BLENDMODE_ADD",
+"SDL_SCANCODE_F23",
+"SDL_SCANCODE_MODE",
+"SDL_SCANCODE_F21",
+"SDL_SCANCODE_F20",
+"SDL_SCANCODE_LALT",
+"SDL_SCANCODE_HELP",
+"SDL_FreeCursor",
+"SDL_INPUTPROXIMITYIN",
+"SDL_SCANCODE_ESCAPE",
+"SDL_HasEvent",
+"SDL_SCANCODE_RETURN",
+"SDL_SCANCODE_KP_DBLVERTICALBAR",
+"SDL_FreeFormat",
+"SDL_GetTouch",
+"SDL_SCANCODE_FIND",
+"SDL_SCANCODE_RGUI",
+"SDL_GL_ACCUM_ALPHA_SIZE",
+"SDL_RWFromFile",
+"SDL_SCANCODE_NONUSBACKSLASH",
+"SDL_GetRelativeMouseState",
+"SDL_SetModState",
+"SDL_GetKeyboardState",
 "SDL_GetWindowID",
-"SDL_LockSurface",
-"SDL_WINDOWEVENT_ENTER",
-"SDL_GetWindowFlags",
-"SDL_GL_CONTEXT_MAJOR_VERSION",
-"SDL_GL_CreateContext",
-"SDL_INIT_JOYSTICK",
-"SDL_WINDOWEVENT_RESTORED",
+"SDL_SCANCODE_KP_4",
+"SDL_SCANCODE_KP_5",
+"SDL_SetEventFilter",
+"SDL_SCANCODE_KP_7",
+"SDL_SCANCODE_KP_0",
+"SDL_SCANCODE_KP_1",
+"SDL_SCANCODE_KP_2",
+"SDL_SCANCODE_KP_3",
 "SDL_VideoQuit",
-"SDL_GL_MULTISAMPLEBUFFERS",
-"SDL_BlitScaled",
-"SDL_GL_CONTEXT_MINOR_VERSION",
-"SDL_GL_ACCUM_GREEN_SIZE",
-"SDL_WriteLE32",
-"SDL_EFSEEK",
-"SDL_GetWindowGammaRamp",
-"SDL_LowerBlit",
-"SDL_WINDOW_MOUSE_FOCUS",
-"SDL_WINDOWPOS_UNDEFINED_MASK",
-"SDL_SetWindowDisplayMode",
+"SDL_SCANCODE_KP_8",
+"SDL_SCANCODE_KP_9",
+"SDL_SCANCODE_SLASH",
+"SDL_SCANCODE_KP_D",
+"SDL_SCANCODE_KP_E",
+"SDL_SCANCODE_KP_F",
+"SDL_SCANCODE_KP_A",
+"SDL_SCANCODE_KP_B",
+"SDL_SCANCODE_KP_C",
 "SDL_GL_CONTEXT_PROFILE_MASK",
-"SDL_SWSURFACE",
-"SDL_GetColorKey",
-"SDL_GetWindowPosition",
-"SDL_LASTERROR",
-"SDL_GL_RED_SIZE",
+"SDL_INPUTMOTION",
+"SDL_SCANCODE_SELECT",
 "SDL_GL_CONTEXT_PROFILE_COMPATIBILITY",
 "SDL_GL_GREEN_SIZE",
 "SDL_WINDOWEVENT_CLOSE",
 "SDL_ShowWindow",
 "SDL_GL_CONTEXT_EGL",
-"SDL_WINDOW_OPENGL",
-"SDL_WINDOW_FOREIGN",
-"SDL_GL_ExtensionSupported",
+"SDL_SCANCODE_KBDILLUMDOWN",
 "SDL_GetClipRect",
-"SDL_Error",
+"SDL_SCANCODE_SPACE",
 "SDL_WriteBE16",
-"SDL_GetWindowDisplayMode",
-"SDL_GL_RETAINED_BACKING",
+"SDL_SCANCODE_KP_MEMADD",
 "RW_SEEK_SET",
 "SDL_INIT_TIMER",
-"SDL_ReadBE16",
-"SDL_ConvertSurface",
-"SDL_WriteBE64",
-"SDL_ReadLE32",
-"SDL_WINDOW_INPUT_GRABBED",
-"SDL_GetPixelFormatName",
+"SDL_UNSUPPORTED",
+"SDL_GetNumVideoDrivers",
 "SDL_SetSurfacePalette",
 "SDL_WINDOWEVENT_FOCUS_LOST",
 "SDL_GetWindowBrightness",
-"SDL_SetPaletteColors",
-"SDL_CreateRGBSurfaceFrom",
+"SDL_SCANCODE_KP_00",
 "SDL_PREALLOC",
+"SDL_EventState",
+"SDL_GetNumDisplayModes",
+"SDL_MULTIGESTURE",
+"KMOD_ALT",
+"SDL_SCANCODE_KP_ENTER",
+"SDL_SaveDollarTemplate",
+"SDL_SCANCODE_KP_CLEARENTRY",
+"SDL_JoystickIndex",
+"SDL_GetRelativeMouseMode",
+"KMOD_LGUI",
+"SDL_SetWindowSize",
+"SDL_GetSurfaceBlendMode",
+"SDL_MinimizeWindow",
+"SDL_SetWindowPosition",
+"SDL_TEXTEDITING",
+"KMOD_RSHIFT",
+"SDL_SCANCODE_TAB",
+"SDL_GetSurfaceColorMod",
+"SDL_CreateWindowFrom",
+"SDL_WINDOW_HIDDEN",
+"SDL_RecordGesture",
+"SDL_PushEvent",
+"SDL_SCANCODE_CURRENCYUNIT",
+"SDL_INIT_EVERYTHING",
+"SDL_BlitSurface",
+"SDL_GetWindowGrab",
+"SDL_SCANCODE_RALT",
+"SDL_IntersectRectAndLine",
+"SDL_SCANCODE_F12",
+"SDL_GetKeyName",
+"SDL_SCANCODE_MEDIASELECT",
+"SDL_WINDOWEVENT_FOCUS_GAINED",
+"SDL_ALPHA_OPAQUE",
+"SDL_SCANCODE_F11",
+"SDL_ConvertSurfaceFormat",
+"SDL_RWFromFP",
+"SDL_DisableScreenSaver",
+"SDL_SCANCODE_CURRENCYSUBUNIT",
+"KMOD_GUI",
+"SDL_WINDOWEVENT_RESTORED",
+"SDL_SCANCODE_RIGHTBRACKET",
+"SDL_SCANCODE_PAUSE",
+"SDL_CreateRGBSurface",
+"SDL_MOUSEMOTION",
+"SDL_GL_DeleteContext",
+"SDL_GL_BUFFER_SIZE",
+"SDL_WINDOW_SHOWN",
+"SDL_SCANCODE_KP_XOR",
+"SDL_PixelFormatEnumToMasks",
+"SDL_GetVideoDriver",
+"SDL_SetRelativeMouseMode",
+"SDL_SCANCODE_AC_SEARCH",
+"SDL_TOUCHBUTTONUP",
+"SDL_FillRect",
+"SDL_GL_DEPTH_SIZE",
+"KMOD_MODE",
+"SDL_HAT_RIGHTUP",
+"SDL_FreeSurface",
+"SDL_ENABLE",
+"SDL_StopTextInput",
+"SDL_RWFromMem",
+"SDL_GL_ACCUM_BLUE_SIZE",
+"SDL_JoystickUpdate",
+"SDL_SCANCODE_BACKSPACE",
+"SDL_SCANCODE_HOME",
+"SDL_WaitEvent",
+"SDL_SCANCODE_LSHIFT",
+"SDL_FillRects",
+"SDL_ReadBE32",
+"SDL_JoystickGetButton",
+"SDL_SCANCODE_KP_MEMSUBTRACT",
+"KMOD_RALT",
+"SDL_WarpMouseInWindow",
+"SDL_GL_DOUBLEBUFFER",
+"SDL_SCANCODE_KP_MULTIPLY",
+"SDL_GL_GetProcAddress",
+"KMOD_LCTRL",
+"SDL_FIRSTEVENT",
+"SDL_SCANCODE_KP_MEMDIVIDE",
+"SDL_GL_MakeCurrent",
+"RW_SEEK_CUR",
+"SDL_BUTTON_X2MASK",
+"SDL_GL_BLUE_SIZE",
+"SDL_SetWindowData",
+"SDL_GetWindowDisplay",
+"SDL_NumJoysticks",
+"SDL_WINDOWEVENT_HIDDEN",
+"SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG",
+"SDL_SCANCODE_MENU",
+"SDL_GetWindowFromID",
+"SDL_SCANCODE_KP_CLEAR",
+"SDL_SCANCODE_BRIGHTNESSUP",
+"SDL_SCANCODE_4",
+"SDL_HAT_UP",
+"SDL_SCANCODE_UP",
+"SDL_RegisterEvents",
+"SDL_SCANCODE_6",
+"SDL_SCANCODE_MUTE",
+"SDL_SaveAllDollarTemplates",
+"SDL_BUTTON_LMASK",
+"SDL_GetWindowPixelFormat",
+"SDL_RWFromConstMem",
+"SDL_RestoreWindow",
+"SDL_SCANCODE_KP_BINARY",
+"SDL_ReadLE16",
+"SDL_INIT_NOPARACHUTE",
+"SDL_JoystickClose",
+"SDL_SCANCODE_F18",
+"SDL_SCANCODE_F19",
+"SDL_SetCursor",
+"SDL_SCANCODE_KP_TAB",
+"SDL_SCANCODE_VOLUMEDOWN",
+"SDL_SCANCODE_F13",
+"SDL_SCANCODE_F10",
+"SDL_PRESSED",
+"SDL_SCANCODE_F16",
+"SDL_SCANCODE_F17",
+"SDL_SCANCODE_F14",
+"SDL_SCANCODE_F15",
+"SDL_SCANCODE_DECIMALSEPARATOR",
+"SDL_GetWindowFlags",
+"SDL_GL_CONTEXT_MAJOR_VERSION",
+"SDL_ShowScreenKeyboard",
+"SDL_Quit",
+"SDL_GL_CONTEXT_MINOR_VERSION",
+"SDL_PEEKEVENT",
+"SDL_WriteLE32",
+"SDL_SCANCODE_PRIOR",
+"SDL_LowerBlit",
+"SDL_SCANCODE_KP_RIGHTPAREN",
+"SDL_WINDOWPOS_UNDEFINED_MASK",
+"SDL_SCANCODE_UNKNOWN",
+"SDL_SWSURFACE",
+"SDL_SCANCODE_LGUI",
+"SDL_SCANCODE_LANG9",
+"SDL_SCANCODE_LANG8",
+"SDL_GetWindowPosition",
+"SDL_SCANCODE_CANCEL",
+"SDL_JoystickGetHat",
+"SDL_SCANCODE_BRIGHTNESSDOWN",
+"SDL_SCANCODE_LANG1",
+"SDL_GetRGB",
+"SDL_SCANCODE_LANG3",
+"SDL_SCANCODE_LANG2",
+"SDL_SCANCODE_KP_LESS",
+"SDL_SCANCODE_LANG4",
+"SDL_SCANCODE_LANG7",
+"SDL_SCANCODE_LANG6",
+"SDL_SCANCODE_EXSEL",
+"SDL_SCANCODE_SEMICOLON",
+"SDL_SetWindowDisplayMode",
+"SDL_INPUTBUTTONUP",
+"SDL_GL_ACCUM_GREEN_SIZE",
+"SDL_SCANCODE_APPLICATION",
 "SDL_GL_GetAttribute",
-"SDL_GetNumDisplayModes",
 "SDL_SetWindowGammaRamp",
-"SDL_EnclosePoints",
-"SDL_RestoreWindow",
 "SDL_SetWindowIcon",
-"SDL_GL_SetAttribute",
+"SDL_GetKeyFromScancode",
 "SDL_GetRGBA",
-"SDL_GL_LoadLibrary",
-"SDL_UnlockSurface",
-"SDL_RWFromFile",
-"SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG",
-"SDL_ENOMEM",
+"SDL_CreateWindow",
+"SDL_MapRGB",
+"KMOD_CAPS",
 "SDL_BLENDMODE_NONE",
 "SDL_SetWindowFullscreen",
+"SDL_SCANCODE_KP_MEMMULTIPLY",
+"SDL_SCANCODE_KP_AT",
+"SDL_SCANCODE_CUT",
+"KMOD_RGUI",
+"SDL_SCANCODE_INSERT",
+"SDL_SCANCODE_LCTRL",
+"SDL_SCANCODE_VOLUMEUP",
+"SDL_SCANCODE_BACKSLASH",
+"SDL_ReadBE64",
+"SDL_DONTFREE",
+"SDL_SCANCODE_CLEARAGAIN",
+"SDL_SCANCODE_AUDIOMUTE",
+"SDL_LoadDollarTemplates",
+"SDL_GetCursor",
+"SDL_SCANCODE_DISPLAYSWITCH",
+"SDL_GL_RED_SIZE",
+"SDL_SaveBMP_RW",
+"SDL_SCANCODE_RSHIFT",
+"SDL_TOUCHBUTTONDOWN",
+"SDL_QuitSubSystem",
+"SDL_WINDOWPOS_UNDEFINED",
+"SDL_VideoInit",
+"SDL_SCANCODE_LANG5",
+"SDL_WINDOW_OPENGL",
+"SDL_DOLLARGESTURE",
+"SDL_NUM_SCANCODES",
+"SDL_GetDisplayBounds",
+"SDL_SCANCODE_DOWN",
+"SDL_SCANCODE_OUT",
+"SDL_BUTTON_MMASK",
+"SDL_DOLLARRECORD",
+"SDL_BUTTON_X1MASK",
+"SDL_USEREVENT",
+"SDL_SCANCODE_SCROLLLOCK",
+"SDL_SetPixelFormatPalette",
+"SDL_SCANCODE_F2",
+"SDL_SCANCODE_F3",
+"SDL_SCANCODE_F4",
+"SDL_BLENDMODE_BLEND",
+"SDL_SCANCODE_F6",
+"SDL_SCANCODE_F7",
+"SDL_SCANCODE_F8",
+"SDL_SCANCODE_F9",
+"SDL_INPUTBUTTONDOWN",
+"SDL_RELEASED",
+"KMOD_LSHIFT",
+"SDL_HAT_LEFTUP",
+"SDL_FilterEvents",
+"SDL_ALPHA_TRANSPARENT",
+"SDL_WINDOWEVENT_SIZE_CHANGED",
+"SDL_DelEventWatch",
+"SDL_SetSurfaceAlphaMod",
+"SDL_SCANCODE_AUDIONEXT",
+"SDL_SCANCODE_F24",
+"SDL_SCANCODE_KP_EXCLAM",
+"SDL_MOUSEBUTTONDOWN",
+"SDL_SCANCODE_F22",
+"SDL_KEYUP",
+"SDL_SCANCODE_WWW",
+"SDL_BUTTON_RIGHT",
+"SDL_SCANCODE_KP_MINUS",
+"SDL_SCANCODE_KBDILLUMTOGGLE",
+"SDL_WaitEventTimeout",
+"SDL_SetWindowBrightness",
+"SDL_SCANCODE_EQUALS",
+"SDL_WINDOWEVENT_MOVED",
+"SDL_SCANCODE_KP_PLUSMINUS",
+"SDL_TEXTINPUTEVENT_TEXT_SIZE",
+"SDL_HAT_RIGHTDOWN",
+"SDL_UpdateWindowSurface",
+"SDL_SCANCODE_EXECUTE",
+"SDL_SCANCODE_ALTERASE",
+"SDLK_SCANCODE_MASK",
+"SDL_WriteBE64",
+"SDL_SetSurfaceColorMod",
+"SDL_SCANCODE_DELETE",
+"SDL_WasInit",
+"SDL_FlushEvents",
+"SDL_EFREAD",
+"SDL_SCANCODE_KP_PLUS",
+"SDL_INPUTPROXIMITYOUT",
+"SDL_GetModState",
+"SDL_SetClipRect",
+"SDL_SetError",
+"SDL_IsScreenSaverEnabled",
+"SDL_SYSWMEVENT",
+"SDL_RaiseWindow",
+"SDL_WINDOW_FOREIGN",
+"SDL_WINDOWEVENT_RESIZED",
+"SDL_JoystickName",
+"SDL_GetWindowSurface",
+"SDL_SCANCODE_OPER",
+"SDL_FINGERMOTION",
+"SDL_SCANCODE_POWER",
+"SDL_ToggleScreenKeyboard",
+"SDL_GL_ACCUM_RED_SIZE",
+"SDL_IntersectRect",
+"SDL_JoystickNumAxes",
+"SDL_DestroyWindow",
+"SDL_UpdateWindowSurfaceRects",
+"SDL_WINDOWEVENT_ENTER",
+"SDL_SCANCODE_CLEAR",
+"SDL_SCANCODE_AUDIOPREV",
+"SDL_FINGERDOWN",
+"SDL_INIT_JOYSTICK",
+"SDL_EnclosePoints",
+"SDL_PeepEvents",
+"SDL_SCANCODE_KP_AMPERSAND",
+"SDL_SCANCODE_UNDO",
+"SDL_BlitScaled",
+"SDL_SCANCODE_SLEEP",
+"SDL_SCANCODE_CRSEL",
+"SDL_LASTEVENT",
+"SDL_SCANCODE_KP_GREATER",
+"SDL_SCANCODE_KBDILLUMUP",
+"SDL_HAT_LEFTDOWN",
+"SDL_SCANCODE_KP_COMMA",
+"SDL_GetEventFilter",
+"SDL_BLENDMODE_MOD",
+"SDL_SCANCODE_RIGHT",
+"SDL_UnlockSurface",
+"SDL_GL_STENCIL_SIZE",
+"SDL_SCANCODE_KP_LEFTBRACE",
+"SDL_SCANCODE_APOSTROPHE",
+"SDL_GL_ExtensionSupported",
+"SDL_SCANCODE_AC_BOOKMARKS",
+"SDL_GL_RETAINED_BACKING",
+"SDL_JoystickEventState",
+"SDL_JOYHATMOTION",
+"SDL_GL_UnloadLibrary",
+"SDL_JOYBUTTONUP",
+"SDL_JoystickNumButtons",
+"SDL_SetPaletteColors",
+"SDL_SetColorKey",
+"SDL_INIT_AUDIO",
+"SDL_TEXTINPUT",
+"SDL_GL_LoadLibrary",
+"KMOD_NUM",
+"SDL_SCANCODE_KP_EQUALS",
+"SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG",
+"SDL_GetClosestDisplayMode",
 "SDL_InitSubSystem",
-"SDL_FillRects",
-"SDL_UpperBlitScaled",
-"SDL_INIT_NOPARACHUTE",
+"KMOD_CTRL",
+"SDL_CreateColorCursor",
+"SDL_SCANCODE_KP_000",
+"SDL_GetSurfaceAlphaMod",
 "SDL_GetWindowSize",
-"SDL_ALPHA_OPAQUE",
-"SDL_GetSurfaceBlendMode",
-"SDL_MinimizeWindow",
+"SDL_SCANCODE_KP_MEMSTORE",
 "SDL_WINDOWEVENT_SHOWN",
-"SDL_ReadBE64",
-"SDL_ReadLE16",
-"SDL_GL_SetSwapInterval",
-"SDL_EnableScreenSaver",
+"SDL_CLIPBOARDUPDATE",
+"SDL_BUTTON_LEFT",
+"KMOD_SHIFT",
+"SDL_GL_ACCELERATED_VISUAL",
 "SDL_GetCurrentDisplayMode",
 "SDL_WINDOW_FULLSCREEN",
 "SDL_WINDOWEVENT_MINIMIZED",
-"SDL_WINDOW_RESIZABLE",
-"SDL_GetSurfaceColorMod",
-"SDL_CreateWindow",
-"SDL_WINDOWPOS_CENTERED",
-"SDL_SaveBMP_RW",
-"SDL_WINDOW_HIDDEN",
+"SDL_HAT_LEFT",
+"SDL_HasIntersection",
 "SDL_GL_ALPHA_SIZE",
-"SDL_Quit",
-"SDL_CreateWindowFrom",
+"SDL_GetKeyFromName",
+"SDL_SCANCODE_SYSREQ",
 "SDL_WriteBE32",
-"SDL_GetRGB",
-"SDL_UpdateWindowSurfaceRects",
-"SDL_INIT_EVERYTHING",
 "SDL_WINDOWEVENT_EXPOSED",
-"SDL_LoadBMP_RW",
 "SDL_CalculateGammaRamp",
-"SDL_QuitSubSystem",
-"SDL_WINDOWPOS_UNDEFINED",
-"SDL_IntersectRect",
 "SDL_GL_SwapWindow",
-"SDL_BlitSurface",
-"SDL_VideoInit",
-"SDL_GetWindowGrab",
-"SDL_IntersectRectAndLine",
-"SDL_GL_STENCIL_SIZE",
-"SDL_GetDisplayBounds",
-"SDL_WINDOWEVENT_FOCUS_GAINED",
-"SDL_GetWindowDisplay",
+"SDL_SCANCODE_KP_POWER",
+"SDL_GetFinger",
+"SDL_GetDesktopDisplayMode",
+"KMOD_RCTRL",
+"SDL_ADDEVENT",
 "SDL_GL_CONTEXT_PROFILE_CORE",
-"SDL_WINDOW_MINIMIZED",
-"SDL_WINDOW_MAXIMIZED",
-"SDL_GL_MakeCurrent",
-"SDL_GL_MULTISAMPLESAMPLES",
-"SDL_FALSE",
+"SDL_SCANCODE_AUDIOSTOP",
+"SDL_GL_CONTEXT_DEBUG_FLAG",
 "SDL_WINDOWEVENT_LEAVE",
-"SDL_SoftStretch",
-"SDL_ConvertSurfaceFormat",
 "SDL_MapRGBA",
-"SDL_DisableScreenSaver",
-"SDL_SetPixelFormatPalette",
-"SDL_UpperBlit",
-"SDL_GL_STEREO",
-"SDL_MapRGB",
-"SDL_BLENDMODE_BLEND",
-"SDL_WriteLE16",
-"SDL_RLEACCEL",
-"SDL_CreateRGBSurface",
-"SDL_FreeFormat",
-"SDL_GL_DeleteContext",
-"SDL_GetClosestDisplayMode",
-"SDL_GL_BUFFER_SIZE",
+"RW_SEEK_END",
+"SDL_FlushEvent",
+"SDL_WINDOW_BORDERLESS",
 "SDL_GL_CONTEXT_RESET_ISOLATION_FLAG",
 "SDL_WINDOWPOS_CENTERED_MASK",
 "SDL_AllocRW",
-"SDL_ALPHA_TRANSPARENT",
-"SDL_WINDOW_SHOWN",
-"SDL_ConvertPixels",
-"SDL_PixelFormatEnumToMasks",
-"SDL_GetVideoDriver",
+"SDL_SCANCODE_INTERNATIONAL2",
+"SDL_SCANCODE_INTERNATIONAL3",
+"SDL_SCANCODE_INTERNATIONAL1",
+"SDL_SCANCODE_INTERNATIONAL6",
+"SDL_SCANCODE_INTERNATIONAL7",
+"SDL_SCANCODE_INTERNATIONAL4",
+"SDL_SCANCODE_INTERNATIONAL5",
 "SDL_GL_CONTEXT_PROFILE_ES",
-"SDL_FreePalette",
+"SDL_SCANCODE_INTERNATIONAL8",
+"SDL_SCANCODE_INTERNATIONAL9",
 "SDL_MaximizeWindow",
-"SDL_FreeRW",
-"SDL_GetSurfaceAlphaMod",
-"SDL_AllocPalette",
-"SDL_GL_CONTEXT_DEBUG_FLAG",
-"SDL_SetSurfaceAlphaMod",
 "SDL_TRUE",
-"SDL_GetDesktopDisplayMode",
-"SDL_GetWindowFromID",
-"SDL_GL_DEPTH_SIZE",
-"SDL_EFWRITE",
-"SDL_FreeSurface",
-"SDL_RWFromMem",
-"SDL_GL_ACCUM_BLUE_SIZE",
+"SDL_SCANCODE_KP_EQUALSAS400",
 "SDL_WriteLE64",
-"SDL_GetDisplayMode",
 
 ]
 
 /*
 Simple DirectMedia Layer
 Copyright (C) 1997-2012 Sam Lantinga <slouken@libsdl.org>
-
 This software is provided 'as-is', without any express or implied
 warranty.  In no event will the authors be held liable for any damages