# Announcing SDL 2.28.0

**URL:** <https://discourse.libsdl.org/t/announcing-sdl-2-28-0/44341>\
**Category:** SDL Announcements\
**Created:** [June 20, 2023, 7:05pm UTC](https://discourse.libsdl.org/t/announcing-sdl-2-28-0/44341 "2023-06-20T19:05:03Z")\
**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:** [June 20, 2023, 7:05pm UTC](https://discourse.libsdl.org/t/announcing-sdl-2-28-0/44341/1 "2023-06-20T19:05:04Z")

</div>

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

> **[Release 2.28.0 · libsdl-org/SDL](https://github.com/libsdl-org/SDL/releases/tag/release-2.28.0)**
>
> Thanks to all the people who contributed code and feedback, SDL 2.28.0 is now available!
> In addition to lots of bug fixes, here are the major changes in this release:
> General:
> 
> Added SDL\_HasWindowS...

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

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

With this release, SDL 2.0 is entering maintenance mode. While we will continue to support the library and provide stable bug fix updates, the SDL team is focusing on SDL 3.0 and all new feature development will be happening there. We are simultaneously bringing up sdl2-compat so your existing SDL 2.0 applications can run on the SDL 3.0 runtime in the future.

---

<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:** [July 1, 2023, 5:42pm UTC](https://discourse.libsdl.org/t/announcing-sdl-2-28-0/44341/2 "2023-07-01T17:42:19Z")

</div>

A minor update with bug fixes has been released:

> **[Release 2.28.1 · libsdl-org/SDL](https://github.com/libsdl-org/SDL/releases/tag/release-2.28.1)**
>
> This is a stable bugfix release, with the following changes:
> 
> Added support for the Nintendo Online Famicom controllers
> Improved support for third-party Nintendo Switch controllers
> Fixed setting th...

---

<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:** [August 2, 2023, 3:42pm UTC](https://discourse.libsdl.org/t/announcing-sdl-2-28-0/44341/3 "2023-08-02T15:42:47Z")

</div>

A minor update with bug fixes has been released:

> **[Release 2.28.2 · libsdl-org/SDL](https://github.com/libsdl-org/SDL/releases/tag/release-2.28.2)**
>
> This is a stable bugfix release, with the following changes:
> 
> Fixed occasionally failing to open the clipboard on Windows
> Fixed crash at shutdown when using the D3D11 renderer
> Fixed setting the vie...

---

<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:** [September 1, 2023, 6:36pm UTC](https://discourse.libsdl.org/t/announcing-sdl-2-28-0/44341/4 "2023-09-01T18:36:14Z")

</div>

A minor update with bug fixes has been released:

> **[Release 2.28.3 · libsdl-org/SDL](https://github.com/libsdl-org/SDL/releases/tag/release-2.28.3)**
>
> This is a stable bugfix release, with the following changes:
> 
> Added a gamepad mapping for the G-Shark GS-GP702
> Fixed touchpad events for the Razer Wolverine V2 Pro in PS5 mode
> Fixed getting key eve...

---

<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:** [October 1, 2023, 7:32pm UTC](https://discourse.libsdl.org/t/announcing-sdl-2-28-0/44341/5 "2023-10-01T19:32:46Z")

</div>

A minor update with bug fixes has been released:

> **[Release 2.28.4 · libsdl-org/SDL](https://github.com/libsdl-org/SDL/releases/tag/release-2.28.4)**
>
> This is a stable bugfix release, with the following changes:
> 
> Enable clipping for zero sized rectangles in the SDL renderer
> Notify X11 clipboard managers when the clipboard changes
> Fixed sensor tim...

---

<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 2, 2023, 5:53pm UTC](https://discourse.libsdl.org/t/announcing-sdl-2-28-0/44341/6 "2023-11-02T17:53:38Z")

</div>

A minor update with bug fixes has been released:

> **[Release 2.28.5 · libsdl-org/SDL](https://github.com/libsdl-org/SDL/releases/tag/release-2.28.5)**
>
> This is a stable bugfix release, with the following changes:
> 
> Added support for the HP HyperX Clutch Gladiate controller
> Fixed a crash if a controller is disconnected while SDL is opening it
> Fixed ...
