Skip to content

Commit

Permalink
Update bindings to 2.30.10 (#277)
Browse files Browse the repository at this point in the history
* Update bindings to 2.30.10

* Update CI tests

* Preinstall setuptools on macOS runners

* Avoid using null audio driver on macOS CI

* Update mixer bindings to 2.8.0

* Update news.rst

* Add tests for INDEX2 formats
  • Loading branch information
a-hurst authored Dec 13, 2024
1 parent c21d4f8 commit 5b3db64
Show file tree
Hide file tree
Showing 16 changed files with 203 additions and 44 deletions.
7 changes: 7 additions & 0 deletions .ci/getsdl2.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@
}

libversions = {
'2.30.10': {
'SDL2': '2.30.10',
'SDL2_mixer': '2.8.0',
'SDL2_ttf': '2.22.0',
'SDL2_image': '2.8.2',
'SDL2_gfx': '1.0.4'
},
'2.28.5': {
'SDL2': '2.28.5',
'SDL2_mixer': '2.6.3',
Expand Down
37 changes: 19 additions & 18 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

strategy:
matrix:
sdl2: ['2.28.5']
sdl2: ['2.30.10']

env:
PYSDL2_DLL_VERSION: ${{ matrix.sdl2 }}
Expand Down Expand Up @@ -55,15 +55,15 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
sdl2: ['2.28.5']
python-version: ['3.8', '3.10', '3.11', '3.12', '3.13']
sdl2: ['2.30.10']
name-prefix: ['Linux (Python ']
include:
- python-version: 'pypy-2.7'
sdl2: '2.28.5'
sdl2: '2.30.10'
name-prefix: 'Experimental / Linux ('
- python-version: 'pypy-3.8'
sdl2: '2.28.5'
- python-version: 'pypy-3.10'
sdl2: '2.30.10'
name-prefix: 'Experimental / Linux ('

env:
Expand Down Expand Up @@ -104,11 +104,11 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.10']
sdl2: ['2.28.5', '2.26.5', '2.24.0']
python-version: ['3.12']
sdl2: ['2.30.10', '2.28.5', '2.26.5']
name-prefix: ['macOS (Python ']
include:
- python-version: '3.10'
- python-version: '3.12'
sdl2: 'from Homebrew'
name-prefix: 'Experimental / macOS (Python '

Expand All @@ -128,7 +128,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest
python -m pip install setuptools pytest
- name: Install latest SDL2 via Homebrew
if: ${{ matrix.sdl2 == 'from Homebrew' }}
Expand Down Expand Up @@ -156,23 +156,24 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.10']
python-version: ['3.11']
architecture: ['x64']
sdl2: [
'2.28.5', '2.26.5', '2.24.0', '2.0.22', '2.0.20', '2.0.18', '2.0.16', '2.0.14',
'2.0.12', '2.0.10', '2.0.9', '2.0.8', '2.0.7', '2.0.6', '2.0.5'
'2.0.5', '2.0.6', '2.0.7', '2.0.8', '2.0.9', '2.0.10', '2.0.12',
'2.0.14', '2.0.16', '2.0.18', '2.0.20', '2.0.22', '2.24.0', '2.26.5',
'2.28.5', '2.30.10'
]
name-prefix: ['Windows (Python ']
include:
- python-version: '3.8'
- python-version: '3.11'
architecture: 'x86'
sdl2: '2.28.5'
sdl2: '2.30.10'
name-prefix: 'Windows 32-bit (Python '
- python-version: '3.8'
- python-version: '3.11'
architecture: 'x86'
sdl2: '2.0.22'
name-prefix: 'Windows 32-bit (Python '
- python-version: '3.8'
- python-version: '3.11'
architecture: 'x86'
sdl2: '2.0.5'
name-prefix: 'Windows 32-bit (Python '
Expand Down Expand Up @@ -218,7 +219,7 @@ jobs:
fail-fast: false
matrix:
architecture: ['x86']
sdl2: ['2.28.5', '2.0.5']
sdl2: ['2.30.10', '2.0.5']

env:
PYSDL2_DLL_VERSION: ${{ matrix.sdl2 }}
Expand Down
2 changes: 2 additions & 0 deletions doc/news.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ New Features:

* Updated to wrap new function added in SDL_image 2.8.0 (PR #274).
* Updated to wrap new hints added in SDL 2.28.2 and 2.28.5 (PR #274).
* Updated to wrap new functions and constants in SDL2 2.30.10 (PR #277).
* Updated to wrap new functions and constants in SDL_mixer 2.8.0 (PR #277).
* Added a new function :func:`~sdl2.ext.get_key_state` for checking if a given
key is currently down or up independently of the SDL event queue.

Expand Down
4 changes: 4 additions & 0 deletions sdl2/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@
"SDL_CONTROLLERDEVICEREMOVED", "SDL_CONTROLLERDEVICEREMAPPED",
"SDL_CONTROLLERTOUCHPADDOWN", "SDL_CONTROLLERTOUCHPADMOTION",
"SDL_CONTROLLERTOUCHPADUP", "SDL_CONTROLLERSENSORUPDATE",
"SDL_CONTROLLERUPDATECOMPLETE_RESERVED_FOR_SDL3",
"SDL_CONTROLLERSTEAMHANDLEUPDATED",
"SDL_FINGERDOWN", "SDL_FINGERUP", "SDL_FINGERMOTION",
"SDL_DOLLARGESTURE", "SDL_DOLLARRECORD", "SDL_MULTIGESTURE",
"SDL_CLIPBOARDUPDATE", "SDL_DROPFILE", "SDL_DROPTEXT",
Expand Down Expand Up @@ -116,6 +118,8 @@
SDL_CONTROLLERTOUCHPADMOTION = 0x657
SDL_CONTROLLERTOUCHPADUP = 0x658
SDL_CONTROLLERSENSORUPDATE = 0x659
SDL_CONTROLLERUPDATECOMPLETE_RESERVED_FOR_SDL3 = 0x65A
SDL_CONTROLLERSTEAMHANDLEUPDATED = 0x65B
SDL_FINGERDOWN = 0x700
SDL_FINGERUP = 0x701
SDL_FINGERMOTION = 0x702
Expand Down
7 changes: 7 additions & 0 deletions sdl2/gamecontroller.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"SDL_CONTROLLER_TYPE_NINTENDO_SWITCH_JOYCON_LEFT",
"SDL_CONTROLLER_TYPE_NINTENDO_SWITCH_JOYCON_RIGHT",
"SDL_CONTROLLER_TYPE_NINTENDO_SWITCH_JOYCON_PAIR",
"SDL_CONTROLLER_TYPE_MAX",

"SDL_GameControllerBindType",
"SDL_CONTROLLER_BINDTYPE_NONE", "SDL_CONTROLLER_BINDTYPE_BUTTON",
Expand Down Expand Up @@ -80,6 +81,7 @@
SDL_CONTROLLER_TYPE_NINTENDO_SWITCH_JOYCON_LEFT = 11
SDL_CONTROLLER_TYPE_NINTENDO_SWITCH_JOYCON_RIGHT = 12
SDL_CONTROLLER_TYPE_NINTENDO_SWITCH_JOYCON_PAIR = 13
SDL_CONTROLLER_TYPE_MAX = 14

SDL_GameControllerAxis = c_int
SDL_CONTROLLER_AXIS_INVALID = -1
Expand Down Expand Up @@ -173,6 +175,10 @@ class SDL_GameController(c_void_p):
returns = Uint16, added = '2.23.1'
),
SDLFunc("SDL_GameControllerGetSerial", [_P(SDL_GameController)], c_char_p, added='2.0.14'),
SDLFunc("SDL_GameControllerGetSteamHandle",
[_P(SDL_GameController)],
returns = Uint64, added = '2.30.0'
),
SDLFunc("SDL_GameControllerGetAttached", [_P(SDL_GameController)], SDL_bool),
SDLFunc("SDL_GameControllerGetJoystick", [_P(SDL_GameController)], _P(SDL_Joystick)),
SDLFunc("SDL_GameControllerEventState", [c_int], c_int),
Expand Down Expand Up @@ -320,6 +326,7 @@ class SDL_GameController(c_void_p):
SDL_GameControllerGetProductVersion = _ctypes["SDL_GameControllerGetProductVersion"]
SDL_GameControllerGetFirmwareVersion = _ctypes["SDL_GameControllerGetFirmwareVersion"]
SDL_GameControllerGetSerial = _ctypes["SDL_GameControllerGetSerial"]
SDL_GameControllerGetSteamHandle = _ctypes["SDL_GameControllerGetSteamHandle"]
SDL_GameControllerNumMappings = _ctypes["SDL_GameControllerNumMappings"]
SDL_GameControllerMappingForIndex = _ctypes["SDL_GameControllerMappingForIndex"]
SDL_GameControllerMappingForDeviceIndex = _ctypes["SDL_GameControllerMappingForDeviceIndex"]
Expand Down
50 changes: 49 additions & 1 deletion sdl2/hints.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@
"SDL_HINT_IME_SUPPORT_EXTENDED_TEXT",
"SDL_HINT_IOS_HIDE_HOME_INDICATOR",
"SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS",
"SDL_HINT_JOYSTICK_ARCADESTICK_DEVICES",
"SDL_HINT_JOYSTICK_ARCADESTICK_DEVICES_EXCLUDED",
"SDL_HINT_JOYSTICK_BLACKLIST_DEVICES",
"SDL_HINT_JOYSTICK_BLACKLIST_DEVICES_EXCLUDED",
"SDL_HINT_JOYSTICK_FLIGHTSTICK_DEVICES",
"SDL_HINT_JOYSTICK_FLIGHTSTICK_DEVICES_EXCLUDED",
"SDL_HINT_JOYSTICK_GAMECUBE_DEVICES",
"SDL_HINT_JOYSTICK_GAMECUBE_DEVICES_EXCLUDED",
"SDL_HINT_JOYSTICK_HIDAPI",
"SDL_HINT_JOYSTICK_HIDAPI_GAMECUBE",
"SDL_HINT_JOYSTICK_GAMECUBE_RUMBLE_BRAKE",
Expand All @@ -66,6 +74,7 @@
"SDL_HINT_JOYSTICK_HIDAPI_PS5_RUMBLE",
"SDL_HINT_JOYSTICK_HIDAPI_STADIA",
"SDL_HINT_JOYSTICK_HIDAPI_STEAM",
"SDL_HINT_JOYSTICK_HIDAPI_STEAMDECK",
"SDL_HINT_JOYSTICK_HIDAPI_SWITCH",
"SDL_HINT_JOYSTICK_HIDAPI_SWITCH_HOME_LED",
"SDL_HINT_JOYSTICK_HIDAPI_JOYCON_HOME_LED",
Expand All @@ -78,18 +87,26 @@
"SDL_HINT_JOYSTICK_HIDAPI_XBOX_360_WIRELESS",
"SDL_HINT_JOYSTICK_HIDAPI_XBOX_ONE",
"SDL_HINT_JOYSTICK_HIDAPI_XBOX_ONE_HOME_LED",
"SDL_HINT_JOYSTICK_IOKIT",
"SDL_HINT_JOYSTICK_MFI",
"SDL_HINT_JOYSTICK_RAWINPUT",
"SDL_HINT_JOYSTICK_RAWINPUT_CORRELATE_XINPUT",
"SDL_HINT_JOYSTICK_HIDAPI_CORRELATE_XINPUT",
"SDL_HINT_JOYSTICK_ROG_CHAKRAM",
"SDL_HINT_JOYSTICK_THREAD",
"SDL_HINT_JOYSTICK_THROTTLE_DEVICES",
"SDL_HINT_JOYSTICK_THROTTLE_DEVICES_EXCLUDED",
"SDL_HINT_JOYSTICK_WGI",
"SDL_HINT_JOYSTICK_WHEEL_DEVICES",
"SDL_HINT_JOYSTICK_WHEEL_DEVICES_EXCLUDED",
"SDL_HINT_JOYSTICK_ZERO_CENTERED_DEVICES",
"SDL_HINT_KMSDRM_REQUIRE_DRM_MASTER",
"SDL_HINT_JOYSTICK_DEVICE",
"SDL_HINT_LINUX_DIGITAL_HATS",
"SDL_HINT_LINUX_HAT_DEADZONES",
"SDL_HINT_LINUX_JOYSTICK_CLASSIC",
"SDL_HINT_LINUX_JOYSTICK_DEADZONES",
"SDL_HINT_LOGGING",
"SDL_HINT_MAC_BACKGROUND_APP",
"SDL_HINT_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK",
"SDL_HINT_MAC_OPENGL_ASYNC_DISPATCH",
Expand All @@ -103,6 +120,7 @@
"SDL_HINT_MOUSE_RELATIVE_SPEED_SCALE",
"SDL_HINT_MOUSE_RELATIVE_SYSTEM_SCALE",
"SDL_HINT_MOUSE_RELATIVE_WARP_MOTION",
"SDL_HINT_MOUSE_RELATIVE_CURSOR_VISIBLE",
"SDL_HINT_MOUSE_TOUCH_EVENTS",
"SDL_HINT_MOUSE_AUTO_CAPTURE",
"SDL_HINT_NO_SIGNAL_HANDLERS",
Expand All @@ -122,6 +140,8 @@
"SDL_HINT_RENDER_SCALE_QUALITY",
"SDL_HINT_RENDER_VSYNC",
"SDL_HINT_RENDER_METAL_PREFER_LOW_POWER_DEVICE",
"SDL_HINT_ROG_GAMEPAD_MICE",
"SDL_HINT_ROG_GAMEPAD_MICE_EXCLUDED",
"SDL_HINT_PS2_DYNAMIC_VSYNC",
"SDL_HINT_RETURN_KEY_HIDES_IME",
"SDL_HINT_RPI_VIDEO_LAYER",
Expand Down Expand Up @@ -155,7 +175,7 @@
"SDL_HINT_VIDEO_X11_XINERAMA",
"SDL_HINT_VIDEO_X11_XRANDR",
"SDL_HINT_VIDEO_X11_XVIDMODE",
"SDL_HINT_WAVE_FACT_CHUNK",
"SDL_HINT_WAVE_FACT_CHUNK",
"SDL_HINT_WAVE_RIFF_CHUNK_SIZE",
"SDL_HINT_WAVE_TRUNCATION",
"SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING",
Expand All @@ -176,12 +196,16 @@
"SDL_HINT_WINRT_PRIVACY_POLICY_URL",
"SDL_HINT_X11_FORCE_OVERRIDE_REDIRECT",
"SDL_HINT_XINPUT_ENABLED",
"SDL_HINT_DIRECTINPUT_ENABLED",
"SDL_HINT_XINPUT_USE_OLD_JOYSTICK_MAPPING",
"SDL_HINT_AUDIO_INCLUDE_MONITORS",
"SDL_HINT_X11_WINDOW_TYPE",
"SDL_HINT_QUIT_ON_LAST_WINDOW_CLOSE",
"SDL_HINT_VIDEODRIVER",
"SDL_HINT_AUDIODRIVER",
"SDL_HINT_KMSDRM_DEVICE_INDEX",
"SDL_HINT_TRACKPAD_IS_TOUCH_ONLY",
"SDL_HINT_SHUTDOWN_DBUS_ON_QUIT",

# Enums
"SDL_HintPriority",
Expand All @@ -197,6 +221,7 @@
SDL_HINT_APP_NAME = b"SDL_APP_NAME"
SDL_HINT_BMP_SAVE_LEGACY_FORMAT = b"SDL_BMP_SAVE_LEGACY_FORMAT"
SDL_HINT_EVENT_LOGGING = b"SDL_EVENT_LOGGING"
SDL_HINT_LOGGING = b"SDL_LOGGING"
SDL_HINT_NO_SIGNAL_HANDLERS = b"SDL_NO_SIGNAL_HANDLERS"
SDL_HINT_POLL_SENTINEL = b"SDL_POLL_SENTINEL"
SDL_HINT_PREFERRED_LOCALES = b"SDL_PREFERRED_LOCALES"
Expand Down Expand Up @@ -282,14 +307,18 @@
SDL_HINT_MOUSE_DOUBLE_CLICK_TIME = b"SDL_MOUSE_DOUBLE_CLICK_TIME"
SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH = b"SDL_MOUSE_FOCUS_CLICKTHROUGH"
SDL_HINT_MOUSE_NORMAL_SPEED_SCALE = b"SDL_MOUSE_NORMAL_SPEED_SCALE"
SDL_HINT_MOUSE_RELATIVE_CURSOR_VISIBLE = b"SDL_MOUSE_RELATIVE_CURSOR_VISIBLE"
SDL_HINT_MOUSE_RELATIVE_MODE_CENTER = b"SDL_MOUSE_RELATIVE_MODE_CENTER"
SDL_HINT_MOUSE_RELATIVE_MODE_WARP = b"SDL_MOUSE_RELATIVE_MODE_WARP"
SDL_HINT_MOUSE_RELATIVE_SCALING = b"SDL_MOUSE_RELATIVE_SCALING"
SDL_HINT_MOUSE_RELATIVE_SPEED_SCALE = b"SDL_MOUSE_RELATIVE_SPEED_SCALE"
SDL_HINT_MOUSE_RELATIVE_SYSTEM_SCALE = b"SDL_MOUSE_RELATIVE_SYSTEM_SCALE"
SDL_HINT_MOUSE_RELATIVE_WARP_MOTION = b"SDL_MOUSE_RELATIVE_WARP_MOTION"
SDL_HINT_MOUSE_TOUCH_EVENTS = b"SDL_MOUSE_TOUCH_EVENTS"
SDL_HINT_ROG_GAMEPAD_MICE = b"SDL_ROG_GAMEPAD_MICE"
SDL_HINT_ROG_GAMEPAD_MICE_EXCLUDED = b"SDL_ROG_GAMEPAD_MICE_EXCLUDED"
SDL_HINT_TOUCH_MOUSE_EVENTS = b"SDL_TOUCH_MOUSE_EVENTS"
SDL_HINT_TRACKPAD_IS_TOUCH_ONLY = b"SDL_TRACKPAD_IS_TOUCH_ONLY"


# Joystick & Gamepad Hints
Expand All @@ -305,6 +334,14 @@
SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS = b"SDL_GAMECONTROLLER_USE_BUTTON_LABELS"
SDL_HINT_HIDAPI_IGNORE_DEVICES = b"SDL_HIDAPI_IGNORE_DEVICES"
SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS = b"SDL_JOYSTICK_ALLOW_BACKGROUND_EVENTS"
SDL_HINT_JOYSTICK_ARCADESTICK_DEVICES = b"SDL_JOYSTICK_ARCADESTICK_DEVICES"
SDL_HINT_JOYSTICK_ARCADESTICK_DEVICES_EXCLUDED = b"SDL_JOYSTICK_ARCADESTICK_DEVICES_EXCLUDED"
SDL_HINT_JOYSTICK_BLACKLIST_DEVICES = b"SDL_JOYSTICK_BLACKLIST_DEVICES"
SDL_HINT_JOYSTICK_BLACKLIST_DEVICES_EXCLUDED = b"SDL_JOYSTICK_BLACKLIST_DEVICES_EXCLUDED"
SDL_HINT_JOYSTICK_FLIGHTSTICK_DEVICES = b"SDL_JOYSTICK_FLIGHTSTICK_DEVICES"
SDL_HINT_JOYSTICK_FLIGHTSTICK_DEVICES_EXCLUDED = b"SDL_JOYSTICK_FLIGHTSTICK_DEVICES_EXCLUDED"
SDL_HINT_JOYSTICK_GAMECUBE_DEVICES = b"SDL_JOYSTICK_GAMECUBE_DEVICES"
SDL_HINT_JOYSTICK_GAMECUBE_DEVICES_EXCLUDED = b"SDL_JOYSTICK_GAMECUBE_DEVICES_EXCLUDED"
SDL_HINT_JOYSTICK_HIDAPI = b"SDL_JOYSTICK_HIDAPI"
SDL_HINT_JOYSTICK_HIDAPI_CORRELATE_XINPUT = b"SDL_JOYSTICK_HIDAPI_CORRELATE_XINPUT"
SDL_HINT_JOYSTICK_HIDAPI_GAMECUBE = b"SDL_JOYSTICK_HIDAPI_GAMECUBE"
Expand All @@ -324,6 +361,7 @@
SDL_HINT_JOYSTICK_HIDAPI_PS5_RUMBLE = b"SDL_JOYSTICK_HIDAPI_PS5_RUMBLE"
SDL_HINT_JOYSTICK_HIDAPI_STADIA = b"SDL_JOYSTICK_HIDAPI_STADIA"
SDL_HINT_JOYSTICK_HIDAPI_STEAM = b"SDL_JOYSTICK_HIDAPI_STEAM"
SDL_HINT_JOYSTICK_HIDAPI_STEAMDECK = b"SDL_JOYSTICK_HIDAPI_STEAMDECK"
SDL_HINT_JOYSTICK_HIDAPI_SWITCH = b"SDL_JOYSTICK_HIDAPI_SWITCH"
SDL_HINT_JOYSTICK_HIDAPI_SWITCH_HOME_LED = b"SDL_JOYSTICK_HIDAPI_SWITCH_HOME_LED"
SDL_HINT_JOYSTICK_HIDAPI_SWITCH_PLAYER_LED = b"SDL_JOYSTICK_HIDAPI_SWITCH_PLAYER_LED"
Expand All @@ -339,14 +377,22 @@
SDL_HINT_JOYSTICK_RAWINPUT_CORRELATE_XINPUT = b"SDL_JOYSTICK_RAWINPUT_CORRELATE_XINPUT"
SDL_HINT_JOYSTICK_ROG_CHAKRAM = b"SDL_JOYSTICK_ROG_CHAKRAM"
SDL_HINT_JOYSTICK_THREAD = b"SDL_JOYSTICK_THREAD"
SDL_HINT_JOYSTICK_THROTTLE_DEVICES = b"SDL_JOYSTICK_THROTTLE_DEVICES"
SDL_HINT_JOYSTICK_THROTTLE_DEVICES_EXCLUDED = b"SDL_JOYSTICK_THROTTLE_DEVICES_EXCLUDED"
SDL_HINT_JOYSTICK_WGI = b"SDL_JOYSTICK_WGI"
SDL_HINT_JOYSTICK_WHEEL_DEVICES = b"SDL_JOYSTICK_WHEEL_DEVICES"
SDL_HINT_JOYSTICK_WHEEL_DEVICES_EXCLUDED = b"SDL_JOYSTICK_WHEEL_DEVICES_EXCLUDED"
SDL_HINT_JOYSTICK_DEVICE = b"SDL_JOYSTICK_DEVICE"
SDL_HINT_JOYSTICK_ZERO_CENTERED_DEVICES = b"SDL_JOYSTICK_ZERO_CENTERED_DEVICES"


# Platform Specific Hints

SDL_HINT_DIRECTINPUT_ENABLED = b"SDL_DIRECTINPUT_ENABLED"
SDL_HINT_EMSCRIPTEN_ASYNCIFY = b"SDL_EMSCRIPTEN_ASYNCIFY"
SDL_HINT_EMSCRIPTEN_KEYBOARD_ELEMENT = b"SDL_EMSCRIPTEN_KEYBOARD_ELEMENT"
SDL_HINT_JOYSTICK_IOKIT = b"SDL_JOYSTICK_IOKIT"
SDL_HINT_KMSDRM_DEVICE_INDEX = b"SDL_KMSDRM_DEVICE_INDEX"
SDL_HINT_KMSDRM_REQUIRE_DRM_MASTER = b"SDL_KMSDRM_REQUIRE_DRM_MASTER"
SDL_HINT_LINUX_DIGITAL_HATS = b"SDL_LINUX_DIGITAL_HATS"
SDL_HINT_LINUX_HAT_DEADZONES = b"SDL_LINUX_HAT_DEADZONES"
Expand All @@ -359,6 +405,7 @@
SDL_HINT_RPI_VIDEO_LAYER = b"SDL_RPI_VIDEO_LAYER"
SDL_HINT_RENDER_DIRECT3D11_DEBUG = b"SDL_RENDER_DIRECT3D11_DEBUG"
SDL_HINT_RENDER_DIRECT3D_THREADSAFE = b"SDL_RENDER_DIRECT3D_THREADSAFE"
SDL_HINT_SHUTDOWN_DBUS_ON_QUIT = b"SDL_SHUTDOWN_DBUS_ON_QUIT"
SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES = b"SDL_VIDEO_MAC_FULLSCREEN_SPACES"
SDL_HINT_VIDEO_WIN_D3DCOMPILER = b"SDL_VIDEO_WIN_D3DCOMPILER"
SDL_HINT_WINDOWS_NO_CLOSE_ON_ALT_F4 = b"SDL_WINDOWS_NO_CLOSE_ON_ALT_F4"
Expand Down Expand Up @@ -393,6 +440,7 @@
SDL_HINT_ENABLE_SCREEN_KEYBOARD = b"SDL_ENABLE_SCREEN_KEYBOARD"
SDL_HINT_IDLE_TIMER_DISABLED = b"SDL_IOS_IDLE_TIMER_DISABLED"
SDL_HINT_IOS_HIDE_HOME_INDICATOR = "SDL_IOS_HIDE_HOME_INDICATOR"
SDL_HINT_JOYSTICK_MFI = b"SDL_JOYSTICK_MFI"
SDL_HINT_VITA_TOUCH_MOUSE_DEVICE = b"SDL_HINT_VITA_TOUCH_MOUSE_DEVICE"
SDL_HINT_WINRT_PRIVACY_POLICY_URL = b"SDL_WINRT_PRIVACY_POLICY_URL"
SDL_HINT_WINRT_PRIVACY_POLICY_LABEL = b"SDL_WINRT_PRIVACY_POLICY_LABEL"
Expand Down
Loading

0 comments on commit 5b3db64

Please sign in to comment.