# Announcing SDL 2.26.0

**URL:** <https://discourse.libsdl.org/t/announcing-sdl-2-26-0/40373>\
**Category:** SDL Announcements\
**Created:** [November 22, 2022, 12:44am UTC](https://discourse.libsdl.org/t/announcing-sdl-2-26-0/40373 "2022-11-22T00:44:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![slouken](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/s/ec9cab/32.png) [@slouken](https://discourse.libsdl.org/u/slouken)\
**Post date:** [November 22, 2022, 12:44am UTC](https://discourse.libsdl.org/t/announcing-sdl-2-26-0/40373/1 "2022-11-22T00:44:03Z")

</div>

Thanks to all the people who contributed code and feedback, SDL 2.26.0 is now available!

> **[Release 2.26.0 · libsdl-org/SDL](https://github.com/libsdl-org/SDL/releases/tag/release-2.26.0)**
>
> In addition to lots of bug fixes, here are the major changes in this release:
> General:
> 
> Updated OpenGL headers to the latest API from The Khronos Group Inc.
> Added SDL\_GetWindowSizeInPixels() to get...

In addition to lots of bug fixes, here are the major changes in this release:

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

---

<div class="post-metadata">

**Author:** ![slouken](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/s/ec9cab/32.png) [@slouken](https://discourse.libsdl.org/u/slouken)\
**Post date:** [December 1, 2022, 8:33pm UTC](https://discourse.libsdl.org/t/announcing-sdl-2-26-0/40373/2 "2022-12-01T20:33:49Z")

</div>

A minor update with bug fixes has been released:

> **[Release 2.26.1 · libsdl-org/SDL](https://github.com/libsdl-org/SDL/releases/tag/release-2.26.1)**
>
> This is a stable bugfix release, with the following changes:
> 
> Improved audio resampling quality
> Fixed crash if SDL\_GetPointDisplayIndex() or SDL\_GetRectDisplayIndex() are called before SDL\_VideoIni...

---

<div class="post-metadata">

**Author:** ![slouken](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/s/ec9cab/32.png) [@slouken](https://discourse.libsdl.org/u/slouken)\
**Post date:** [January 3, 2023, 3:11pm UTC](https://discourse.libsdl.org/t/announcing-sdl-2-26-0/40373/3 "2023-01-03T15:11:59Z")

</div>

A minor update with bug fixes has been released:

> **[Release 2.26.2 · libsdl-org/SDL](https://github.com/libsdl-org/SDL/releases/tag/release-2.26.2)**
>
> This is a stable bugfix release, with the following changes:
> 
> Fixed long delay at startup when a Razer keyboard is connected
> Fixed not receiving SDLK\_5 or SDL\_SCANCODE\_5 when using the AZERTY keybo...

---

<div class="post-metadata">

**Author:** ![slouken](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/s/ec9cab/32.png) [@slouken](https://discourse.libsdl.org/u/slouken)\
**Post date:** [February 6, 2023, 11:33pm UTC](https://discourse.libsdl.org/t/announcing-sdl-2-26-0/40373/4 "2023-02-06T23:33:39Z")

</div>

A minor update with bug fixes has been released:

> **[Release 2.26.3 · libsdl-org/SDL](https://github.com/libsdl-org/SDL/releases/tag/release-2.26.3)**
>
> This is a stable bugfix release, with the following changes:
> 
> Fixed infinite loop shutting down WGI controllers
> Fixed centering the D-pad on some Xbox controllers

---

<div class="post-metadata">

**Author:** ![slouken](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/s/ec9cab/32.png) [@slouken](https://discourse.libsdl.org/u/slouken)\
**Post date:** [March 7, 2023, 12:17am UTC](https://discourse.libsdl.org/t/announcing-sdl-2-26-0/40373/5 "2023-03-07T00:17:50Z")

</div>

A minor update with bug fixes has been released:

> **[Release 2.26.4 · libsdl-org/SDL](https://github.com/libsdl-org/SDL/releases/tag/release-2.26.4)**
>
> This is a stable bugfix release, with the following changes:
> 
> Fixed relative mouse motion over remote desktop on Windows
> Fixed using older game controller mappings on Linux

---

<div class="post-metadata">

**Author:** ![slouken](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/s/ec9cab/32.png) [@slouken](https://discourse.libsdl.org/u/slouken)\
**Post date:** [April 5, 2023, 8:50pm UTC](https://discourse.libsdl.org/t/announcing-sdl-2-26-0/40373/6 "2023-04-05T20:50:01Z")

</div>

A minor update with bug fixes has been released:

> **[Release 2.26.5 · libsdl-org/SDL](https://github.com/libsdl-org/SDL/releases/tag/release-2.26.5)**
>
> This is a stable bugfix release, with the following changes:
> 
> The minimum deployment target on macOS is now 10.11, due to changes in the latest Xcode update
> Fixed incorrect modifier keys handling o...
