-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update sdlhints to 2.0.20 #33
Update sdlhints to 2.0.20 #33
Conversation
This commit adds definitions for: - SDL_HINT_AUDIO_CATEGORY - SDL_HINT_AUDIO_DEVICE_APP_NAME - SDL_HINT_AUDIO_DEVICE_STREAM_NAME - SDL_HINT_AUDIO_DEVICE_STREAM_ROLE - SDL_HINT_AUDIO_INCLUDE_MONITORS - SDL_HINT_AUDIO_RESAMPLING_MODE
This commit adds definitions for: - SDL_HINT_RENDER_BATCHING - SDL_HINT_RENDER_LINE_METHOD - SDL_HINT_RENDER_LOGICAL_SIZE_MODE
This commit adds definitions for: - SDL_HINT_MOUSE_DOUBLE_CLICK_RADIUS - SDL_HINT_MOUSE_DOUBLE_CLICK_TIME - SDL_HINT_MOUSE_NORMAL_SPEED_SCALE - SDL_HINT_MOUSE_RELATIVE_SCALING - SDL_HINT_MOUSE_RELATIVE_SPEED_SCALE - SDL_HINT_MOUSE_TOUCH_EVENTS
This commit adds definitions for: - SDL_HINT_WAVE_FACT_CHUNK - SDL_HINT_WAVE_RIFF_CHUNK_SIZE - SDL_HINT_WAVE_TRUNCATION
This commit adds definitions for: - SDL_HINT_LINUX_JOYSTICK_CLASSIC - SDL_HINT_LINUX_JOYSTICK_DEADZONES
This commit adds definitions for: - SDL_HINT_JOYSTICK_DEVICE - SDL_HINT_JOYSTICK_HIDAPI - SDL_HINT_JOYSTICK_HIDAPI_GAMECUBE - SDL_HINT_JOYSTICK_HIDAPI_JOY_CONS - SDL_HINT_JOYSTICK_HIDAPI_LUNA - SDL_HINT_JOYSTICK_HIDAPI_PS4 - SDL_HINT_JOYSTICK_HIDAPI_PS4_RUMBLE - SDL_HINT_JOYSTICK_HIDAPI_PS5 - SDL_HINT_JOYSTICK_HIDAPI_PS5_PLAYER_LED - SDL_HINT_JOYSTICK_HIDAPI_PS5_RUMBLE - SDL_HINT_JOYSTICK_HIDAPI_STADIA - SDL_HINT_JOYSTICK_HIDAPI_STEAM - SDL_HINT_JOYSTICK_HIDAPI_SWITCH - SDL_HINT_JOYSTICK_HIDAPI_SWITCH_HOME_LED - SDL_HINT_JOYSTICK_HIDAPI_XBOX - SDL_HINT_JOYSTICK_RAWINPUT - SDL_HINT_JOYSTICK_RAWINPUT_CORRELATE_XINPUT - SDL_HINT_JOYSTICK_THREAD
This commit adds definitions for: - SDL_HINT_VIDEO_X11_FORCE_EGL - SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR - SDL_HINT_VIDEO_X11_WINDOW_VISUALID
Looks great! Two remarks:
Best regards, |
This commit adds definitions for: - SDL_HINT_GAMECONTROLLERCONFIG_FILE - SDL_HINT_GAMECONTROLLERTYPE - SDL_HINT_GAMECONTROLLER_IGNORE_DEVICES - SDL_HINT_GAMECONTROLLER_IGNORE_DEVICES_EXCEPT - SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS
This commit adds definitions for: - SDL_HINT_AUTO_UPDATE_JOYSTICKS - SDL_HINT_AUTO_UPDATE_SENSORS
This commit adds definitions for: - SDL_HINT_THREAD_FORCE_REALTIME_TIME_CRITICAL - SDL_HINT_THREAD_PRIORITY_POLICYD
This commit adds definitions for: - SDL_HINT_WINDOWS_FORCE_MUTEX_CRITICAL_SECTIONS - SDL_HINT_WINDOWS_FORCE_SEMAPHORE_KERNEL - SDL_HINT_WINDOWS_INTRESOURCE_ICON - SDL_HINT_WINDOWS_INTRESOURCE_ICON_SMALL - SDL_HINT_WINDOWS_USE_D3D9EXD
This commit adds definitions for: - SDL_HINT_VIDEO_DOUBLE_BUFFER - SDL_HINT_VIDEO_EGL_ALLOW_TRANSPARENCY - SDL_HINT_VIDEO_EXTERNAL_CONTEXT - SDL_HINT_VIDEO_WAYLAND_ALLOW_LIBDECOR
This commit adds definitions for: - SDL_HINT_ANDROID_BLOCK_ON_PAUSE - SDL_HINT_ANDROID_BLOCK_ON_PAUSE_PAUSEAUDIO - SDL_HINT_ANDROID_TRAP_BACK_BUTTON
This commit adds definitions for: - SDL_HINT_QTWAYLAND_CONTENT_ORIENTATION - SDL_HINT_QTWAYLAND_WINDOW_FLAGS
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good for merge but would you like to add the version tag (see my remark 1. above) in sdl2.pas? If you like, I can do that, though.
A second thing I noticed, perhaps the SDL_HintPriority enum in line 1827 should be changed according to our code guidelines.
Thanks for this PR, suve! |
This patch updates
sdhints.inc
to match SDL 2.0.20.Will be followed up by a separate PR to clean up the file a bit (e.g. sort hints alphabetically).