Commits

Marcus von Appen  committed 3a191ff

- added SDL_RENDER_DEVICE_RESET event type

  • Participants
  • Parent commits 08f1c88

Comments (0)

Files changed (2)

 Documentation
 =============
 If you just started with SDL and PySDL2, it is strongly recommended
-that you read through the tutorial of the documentation to understand.
-You can find the documentation at *doc/html* or online at
+that you read through the tutorial of the documentation to learn the 
+basics. You can find the documentation at *doc/html* or online at
 http://pysdl2.readthedocs.org.
 
 License

File sdl2/events.py

            "SDL_FINGERDOWN", "SDL_FINGERUP", "SDL_FINGERMOTION",
            "SDL_DOLLARGESTURE", "SDL_DOLLARRECORD", "SDL_MULTIGESTURE",
            "SDL_CLIPBOARDUPDATE", "SDL_DROPFILE", "SDL_RENDER_TARGETS_RESET",
-           "SDL_USEREVENT", "SDL_LASTEVENT", "SDL_EventType",
-           "SDL_GenericEvent", "SDL_WindowEvent", "SDL_KeyboardEvent",
-           "SDL_TEXTEDITINGEVENT_TEXT_SIZE", "SDL_TextEditingEvent",
-           "SDL_TEXTINPUTEVENT_TEXT_SIZE", "SDL_TextInputEvent",
-           "SDL_MouseMotionEvent", "SDL_MouseButtonEvent",
+           "SDL_RENDER_DEVICE_RESET", "SDL_USEREVENT", "SDL_LASTEVENT",
+           "SDL_EventType","SDL_GenericEvent", "SDL_WindowEvent",
+           "SDL_KeyboardEvent", "SDL_TEXTEDITINGEVENT_TEXT_SIZE",
+           "SDL_TextEditingEvent", "SDL_TEXTINPUTEVENT_TEXT_SIZE",
+           "SDL_TextInputEvent", "SDL_MouseMotionEvent", "SDL_MouseButtonEvent",
            "SDL_MouseWheelEvent", "SDL_JoyAxisEvent", "SDL_JoyBallEvent",
            "SDL_JoyHatEvent", "SDL_JoyButtonEvent", "SDL_JoyDeviceEvent",
            "SDL_ControllerAxisEvent", "SDL_ControllerButtonEvent",
 SDL_CLIPBOARDUPDATE = 0x900
 SDL_DROPFILE = 0x1000
 SDL_RENDER_TARGETS_RESET = 0x2000
+SDL_RENDER_DEVICE_RESET = 0x2001
 SDL_USEREVENT = 0x8000
 SDL_LASTEVENT = 0xFFFF
 SDL_EventType = c_int