Commits

Marcus von Appen committed de8ff8b

- added new sdl2.SDL_MouseButtonEvent.clicks attribute (SDL HG)
- added new sdl2.SDL_HINT_MOUSE_RELATIVE_MODE_WARP hint (SDL HG)

Comments (0)

Files changed (2)

                 ("which", Uint32),
                 ("button", Uint8),
                 ("state", Uint8),
+                ("clicks", Uint8),
                 ("padding1", Uint8),
-                ("padding2", Uint8),
                 ("x", Sint32),
                 ("y", Sint32)
                 ]
            "SDL_HINT_VIDEO_HIGHDPI_DISABLED", "SDL_HINT_ACCEL_AS_JOY",
            "SDL_HINT_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK",
            "SDL_HINT_RENDER_DIRECT3D_THREADSAFE",
-           "SDL_HINT_VIDEO_FULLSCREEN_SPACES", "SDL_HintPriority",
-           "SDL_SetHintWithPriority", "SDL_SetHint", "SDL_GetHint",
-           "SDL_ClearHints"
+           "SDL_HINT_VIDEO_FULLSCREEN_SPACES",
+           "SDL_HINT_MOUSE_RELATIVE_MODE_WARP",
+           "SDL_HintPriority", "SDL_SetHintWithPriority", "SDL_SetHint",
+           "SDL_GetHint", "SDL_ClearHints"
            ]
 
 SDL_HINT_FRAMEBUFFER_ACCELERATION = b"SDL_FRAMEBUFFER_ACCELERATION"
 SDL_HINT_VIDEO_HIGHDPI_DISABLED = b"SDL_VIDEO_HIGHDPI_DISABLED"
 SDL_HINT_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK = b"SDL_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK"
 SDL_HINT_RENDER_DIRECT3D_THREADSAFE = b"SDL_RENDER_DIRECT3D_THREADSAFE"
+SDL_HINT_MOUSE_RELATIVE_MODE_WARP = b"SDL_MOUSE_RELATIVE_MODE_WARP"
 
 SDL_HINT_DEFAULT = 0
 SDL_HINT_NORMAL = 1