This is a list of major changes in SDL's version history.
---------------------------------------------------------------------------
2.30.0:
---------------------------------------------------------------------------
General:
* Added support for 2 bits-per-pixel indexed surface formats
* Added the function SDL_GameControllerGetSteamHandle() to get the Steam API handle for a controller, if available
* Added the event SDL_CONTROLLERSTEAMHANDLEUPDATED which is sent when the Steam API handle for a controller changes. This could also change the name, VID, and PID of the controller.
* Added the environment variable SDL_LOGGING to control default log output
macOS:
* Added the hint SDL_HINT_JOYSTICK_IOKIT to control whether the IOKit controller driver should be used
* Added the hint SDL_HINT_JOYSTICK_MFI to control whether the GCController controller driver should be used
* Added the hint SDL_HINT_RENDER_METAL_PREFER_LOW_POWER_DEVICE to choose whether high or low power GPU should be used for rendering, in the case where there are multiple GPUs available
Xbox:
* Added the function SDL_GDKGetDefaultUser()
---------------------------------------------------------------------------
2.28.2:
---------------------------------------------------------------------------
General:
* Added the hint SDL_HINT_JOYSTICK_WGI to control whether to use Windows.Gaming.Input for controllers
---------------------------------------------------------------------------
2.28.0:
---------------------------------------------------------------------------
General:
* Added SDL_HasWindowSurface() and SDL_DestroyWindowSurface() to switch between the window surface and rendering APIs
* Added a display event SDL_DISPLAYEVENT_MOVED which is sent when the primary monitor changes or displays change position relative to each other
* Added the hint SDL_HINT_ENABLE_SCREEN_KEYBOARD to control whether the on-screen keyboard should be shown when text input is active
---------------------------------------------------------------------------
2.26.0:
---------------------------------------------------------------------------
General:
* Updated OpenGL headers to the latest API from The Khronos Group Inc.
* Added SDL_GetWindowSizeInPixels() to get the window size in pixels, which may differ from the window coordinate size for windows with high-DPI support
* Added simulated vsync synchronization for the software renderer
* Added the mouse position to SDL_MouseWheelEvent
* Added SDL_ResetHints() to reset all hints to their default values
* Added SDL_GetJoystickGUIDInfo() to get device information encoded in a joystick GUID
* Added the hint SDL_HINT_JOYSTICK_HIDAPI_XBOX_360 to control whether the HIDAPI driver for XBox 360 controllers should be used
* Added the hint SDL_HINT_JOYSTICK_HIDAPI_XBOX_360_PLAYER_LED to control whether the player LEDs should be lit to indicate which player is associated with an Xbox 360 controller
* Added the hint SDL_HINT_JOYSTICK_HIDAPI_XBOX_360_WIRELESS to control whether the HIDAPI driver for XBox 360 wireless controllers should be used
* Added the hint SDL_HINT_JOYSTICK_HIDAPI_XBOX_ONE to control whether the HIDAPI driver for XBox One controllers should be used
* Added the hint SDL_HINT_JOYSTICK_HIDAPI_XBOX_ONE_HOME_LED to control the brightness of the XBox One guide button LED
* Added support for PS3 controllers to the HIDAPI driver, enabled by default on macOS, controlled by the SDL_HINT_JOYSTICK_HIDAPI_PS3 hint
* Added support for Nintendo Wii controllers to the HIDAPI driver, not enabled by default, controlled by the SDL_HINT_JOYSTICK_HIDAPI_WII hint
* Added the hint SDL_HINT_JOYSTICK_HIDAPI_WII_PLAYER_LED to control whether the player LED should be lit on the Nintendo Wii controllers
* Added the hint SDL_HINT_JOYSTICK_HIDAPI_VERTICAL_JOY_CONS to control whether Nintendo Switch Joy-Con controllers will be in vertical mode when using the HIDAPI driver
* Added access to the individual left and right gyro sensors of the combined Joy-Cons controller
* Added a microsecond timestamp to SDL_SensorEvent and SDL_ControllerSensorEvent, when the hardware provides that information
* Added SDL_SensorGetDataWithTimestamp() and SDL_GameControllerGetSensorDataWithTimestamp() to retrieve the last sensor data with the associated microsecond timestamp
* Added the hint SDL_HINT_HIDAPI_IGNORE_DEVICES to have the SDL HID API ignore specific devices
* SDL_GetRevision() now includes more information about the SDL build, including the git commit hash if available
Windows:
* Added the hint SDL_HINT_MOUSE_RELATIVE_SYSTEM_SCALE to control whether the system mouse acceleration curve is used for relative mouse motion
macOS:
* Implemented vsync synchronization on macOS 12
Linux:
* Added SDL_SetPrimarySelectionText(), SDL_GetPrimarySelectionText(), and SDL_HasPrimarySelectionText() to interact with the X11 primary selection clipboard
* Added the hint SDL_HINT_VIDEO_WAYLAND_EMULATE_MOUSE_WARP to control whether mouse pointer warp emulation is enabled under Wayland
Android:
* Enabled IME soft keyboard input
* Added version checking to make sure the SDL Java and C code are compatible
---------------------------------------------------------------------------
2.24.0:
---------------------------------------------------------------------------
General:
* New version numbering scheme, similar to GLib and Flatpak.
* An even number in the minor version (second component) indicates a production-ready stable release such as 2.24.0, which would have been 2.0.24 under the old system.
* The patchlevel (micro version, third component) indicates a bugfix-only update: for example, 2.24.1 would be a bugfix-only release to fix bugs in 2.24.0, without adding new features.
* An odd number in the minor version indicates a prerelease such as 2.23.0. Stable distributions should not use these prereleases.
* The patchlevel indicates successive prereleases, for example 2.23.1 and 2.23.2 would be prereleases during development of the SDL 2.24.0 stable release.
* Added SDL_GetPointDisplayIndex() and SDL_GetRectDisplayIndex() to get the display associated with a point and rectangle in screen space
* Added SDL_bsearch(), SDL_crc16(), and SDL_utf8strnlen() to the stdlib routines
* Added SDL_CPUPauseInstruction() as a macro in SDL_atomic.h
* Added SDL_size_mul_overflow() and SDL_size_add_overflow() for better size overflow protection
* Added SDL_ResetHint() to reset a hint to the default value
* Added SDL_ResetKeyboard() to reset SDL's internal keyboard state, generating key up events for all currently pressed keys
* Added the hint SDL_HINT_MOUSE_RELATIVE_WARP_MOTION to control whether mouse warping generates motion events in relative mode. This hint defaults off.
* Added the hint SDL_HINT_TRACKPAD_IS_TOUCH_ONLY to control whether trackpads are treated as touch devices or mice. By default touchpads are treated as mouse input.
* The hint SDL_HINT_JOYSTICK_HIDAPI_JOY_CONS now defaults on
* Added support for mini-gamepad mode for Nintendo Joy-Con controllers using the HIDAPI driver
* Added the hint SDL_HINT_JOYSTICK_HIDAPI_COMBINE_JOY_CONS to control whether Joy-Con controllers are automatically merged into a unified gamepad when using the HIDAPI driver. This hint defaults on.
* The hint SDL_HINT_JOYSTICK_HIDAPI_SWITCH_HOME_LED can be set to a floating point value to set the brightness of the Home LED on Nintendo Switch controllers
* Added the hint SDL_HINT_JOYSTICK_HIDAPI_JOYCON_HOME_LED to set the Home LED brightness for the Nintendo Joy-Con controllers. By default the Home LED is not modified.
* Added the hint SDL_HINT_JOYSTICK_HIDAPI_SWITCH_PLAYER_LED to control whether the player LED should be lit on the Nintendo Joy-Con controllers
* Added support for Nintendo Online classic controllers using the HIDAPI driver
* Added the hint SDL_HINT_JOYSTICK_HIDAPI_NINTENDO_CLASSIC to control whether t
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
SDL2-2.30.6.zip (418个子文件)
._docs 605B
._test 665B
libSDL2.a 17.84MB
libSDL2.a 13.31MB
libSDL2_test.a 659KB
libSDL2_test.a 593KB
libSDL2.dll.a 552KB
libSDL2.dll.a 540KB
libSDL2main.a 9KB
libSDL2main.a 8KB
configure.ac 8KB
p11_shape32alpha.bmp 1.56MB
p13_shape32alpha.bmp 1.56MB
p06_shape1alpha.bmp 1.56MB
p15_shape32alpha.bmp 1.56MB
p04_shape32alpha.bmp 1.56MB
p08_shape32alpha.bmp 1.56MB
p01_shape32alpha.bmp 1.56MB
p02_shape32alpha.bmp 1.56MB
p07_shape32alpha.bmp 1.56MB
p09_shape32alpha.bmp 1.56MB
p06_shape32alpha.bmp 1.56MB
p10_shape32alpha.bmp 1.56MB
p12_shape24.bmp 1.17MB
p15_shape24.bmp 1.17MB
p03_shape24.bmp 1.17MB
p09_shape24.bmp 1.17MB
p07_shape24.bmp 1.17MB
p01_shape24.bmp 1.17MB
p06_shape24.bmp 1.17MB
p08_shape24.bmp 1.17MB
p10_shape24.bmp 1.17MB
p02_shape24.bmp 1.17MB
p13_shape24.bmp 1.17MB
p11_shape24.bmp 1.17MB
p14_shape24.bmp 1.17MB
p04_shape24.bmp 1.17MB
p16_shape24.bmp 1.17MB
testyuv.bmp 722KB
controllermap_back.bmp 476KB
p14_shape8.bmp 401KB
p16_shape8.bmp 401KB
p11_shape8.bmp 401KB
p10_shape8.bmp 401KB
p03_shape8.bmp 401KB
p12_shape8.bmp 401KB
p15_shape8.bmp 401KB
p01_shape8.bmp 401KB
p05_shape8.bmp 401KB
p13_shape8.bmp 401KB
p08_shape8.bmp 401KB
p07_shape8.bmp 401KB
p09_shape8.bmp 401KB
p04_shape8.bmp 401KB
p06_shape8.bmp 401KB
p02_shape8.bmp 401KB
trollface_32alpha.bmp 256KB
trollface_24.bmp 192KB
controllermap.bmp 160KB
testgles2_sdf_img_sdf.bmp 71KB
sample.bmp 68KB
testgles2_sdf_img_normal.bmp 67KB
p16_shape1.bmp 50KB
p10_shape1.bmp 50KB
p04_shape1.bmp 50KB
axis.bmp 10KB
button.bmp 4KB
icon.bmp 578B
testautomation_math.c 97KB
testautomation_video.c 95KB
testautomation_rect.c 71KB
testautomation_sdltest.c 61KB
testautomation_audio.c 49KB
testvulkan.c 45KB
testautomation_render.c 36KB
testautomation_stdlib.c 35KB
testautomation_surface.c 34KB
testgamecontroller.c 34KB
testevdev.c 33KB
controllermap.c 32KB
testautomation_rwops.c 27KB
testautomation_keyboard.c 26KB
testgles2_sdf.c 24KB
testime.c 24KB
testgles2.c 24KB
testplatform.c 22KB
testatomic.c 20KB
testsprite2.c 20KB
testautomation_mouse.c 20KB
testautomation_platform.c 19KB
testyuv.c 18KB
testautomation_pixels.c 18KB
testshader.c 17KB
testhaptic.c 14KB
testoverlay2.c 13KB
testgl2.c 13KB
testautomation_clipboard.c 11KB
testgles.c 11KB
testjoystick.c 10KB
testautomation_subsystems.c 10KB
共 418 条
- 1
- 2
- 3
- 4
- 5
资源评论
Lzc_217
- 粉丝: 454
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功