SDL 2.0.14 Multimedia Library Release

Introduced library release SDL 2.0.14 (Simple DirectMedia Layer) aimed at making it easier to write games and multimedia applications. The SDL provides tools such as hardware-accelerated 2D and 3D graphics output, input processing, audio playback, 3D output via OpenGL / OpenGL ES / Vulkan, and many other related operations. The library is written in C and distributed under the zlib license. Bindings are provided to use SDL capabilities in projects in various programming languages.

In the new release:

  • The Vulkan graphics API is now supported in the KMSDRM video driver for Linux. li>
  • Added support for PS5 DualSense and Xbox Series X game controllers to the HIDAPI driver.
  • Added constants for new buttons and wheels game controllers.
  • New functions have been proposed for getting information from game controllers:
    • SDL_GameControllerGetSerial ()
    • SDL_GameControllerHasAxis ()
    • SDL_GameControllerHasButton ()
    • SDL_GameControllerGetNumTouchpads ()
    • SDL_GameControllerGetNumTouchpadFingers ()
    • SDL_GameControllerGetTouchpadFinger ()
    • SDHL_GGG SDL_Gam eControllerSetSensorEnabled ()

  • SDL_GameControllerIsSensorEnabled ()
  • SDL_GameControllerGetSensorData ()
  • SDL_GameControllerRumbleTriggers ()
  • SDH_GLAMED> SDL_GameControllerSetLED ()

  • New functions have been proposed for getting information from joysticks:
    • SDL_JoystickGetSerial ()
    • SDL_JoystickRumbleTriggers ()
    • SDL_JoystickHasLED ()
    • SDL_JoystickSetLED ()
  • Added API for creating virtual joysticks:
    • SDL_JoystickAttachVirtual () li >
    • SDL_JoystickDetachVirtual ()
    • SDL_JoystickIsVirtual ()
    • SDL_JoystickSetVirtualAxis ()
    • SDL_JoystickSetVirtualButton ()
    • SDL_JoyatualstickSetVirtual () >
  • Added SDL_LockSensors () and SDL_UnlockSensors () functions to provide exclusive access to sensors.
  • Added SDL_GetPreferredLocales () function to get current locale settings.
  • Added SDL_OpenURL () function d To open a URL in the system’s default web browser.
  • Added SDL_SIMDRealloc () function to return memory retrieved via SDL_SIMDAlloc ().
  • Added SDL_GetErrorMsg () function to get error list.
  • Added functions SDL_crc32 (), SDL_wcscasecmp (), SDL_wcsncasecmp (), SDL_trunc (), SDL_truncf ().
  • Added signs:
    • SDL_HINTAT_MOUSESCALINGRELIVE ( scaling pointer movement relative to DPI or the logical size of the rendered area),
    • SDL_HINT_JOYSTICK_HIDAPI_PS5 (enable the use of the HIDAPI driver for PS5 controllers),
    • SDL_HINT_PREFERRED_LOCALE (override the locale).
    • SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS changed to false to improve compatibility with modern window managers.
  • /Release. View in full here.