Release of multimedia library SDL 2.0.26

took place the release of the library SDL 2.0.26 (Simple DirectMedia Layer), aimed at simplifying writing games and multimedia applications. The SDL library provides means such as hard-achered output of 2D and 3D graphs, input processing, sound reproduction, 3D output through Opengl/Opengl ES/VULKAN and many other concomitant operations. The library is written in the language of SI and spreads under the Zlib license. To use the capabilities of SDL in projects in various programming languages, the necessary strands are provided.

in the new issue:

  • heading files for OpenGL are made in accordance with the latest specifications of the Khronos consortium.
  • Added the SDL_GETWINDOSIZEInpixels () function to obtain a pixel window size, which, due to the use of scaling, may differ from the logical size on high-dimensions of pixels (High-DPI).
  • Simulation of vertical synchronization (VSYNC).
  • is added to the program rendering code.

  • The mouse position is provided to SDL_MUSEWHEELEVENENT.
  • Added the SDL_ResetHints () function to reset all the features (hint) into default values.
  • Added the SDL_GETJOYSTICKUIDIDIDIDIDIDIDID () function to obtain information about the joystick encoded in Guid.
  • To the Hidapi driver added support for PS3 and Nintendo Wii.
  • Nintendo Wii.

  • Добавлены новые признаки: SDL_HINT_JOYSTICK_HIDAPI_PS3, SDL_HINT_JOYSTICK_HIDAPI_WII, SDL_HINT_JOYSTICK_HIDAPI_XBOX_360, SDL_HINT_JOYSTICK_HIDAPI_XBOX_360_PLAYER_LED, SDL_HINT_JOYSTICK_HIDAPI_XBOX_ONE, HINT_JOYSTICK_HIDAPI_XBOX_ONE_HOME_LED, SDL_HINT_JOYSTICK_HIDAPI_WII_PLAYER_LED, SDL_HINT_JOYSTICK_HIDAPI_VERTICAL_JOY_CONS и SDL_HINT_JOYSTICK_HIDAPI_XBOX_360_WIRELESS для управления контроллерами XBox 360 и PS3 через драйвер HIDAPI.
  • Provided separate access to the left and legal gyroscopes in combined controllers Nintendo Switch Joy-Cons.
  • in SDL_Sensorevent, SDL_Controllersorevent, DL_SensorGetDAWITAWITIMESSTAMP () and SDL_GAMECONTROLERGETSORDAWITAWITAWITAMESTAMESTAMESTAMESTAMESTAMESTAMES () Added support of microsecond intervals.
  • In the SDL_Getrevision () function, information about the assembly of SDLs, for example, has been added a shash GIT-community.
  • For Linux, the functions of SDL_SETPRIMARYSELECTEXT (), SDL_GETPRIMARIMARYSELECTEXT () and SDL_HASPRIMARYSELECTIONTEXT () are implemented for interacting with the main bureau of exchange.
  • Added a sign of sdl_hint_video_wayland_emule_mouse_warp to control the emulation of the mouse cursor surrounded by Wayland.
  • When assembling for Android, input from the IME program keyboard (Input Method Editor).
/Media reports cited above.