Introduction - If you have any usage issues, please Google them yourself
SDL is the abbreviation of the Simple DirectMedia Layer (simple direct control media layer). It's a cross platform multi - medium
A body library, which is used to directly control the interface of the underlying multimedia hardware. These multimedia functions include audio, keyboard, and mouse
(event), game rocker, etc. Of course, the most important thing is to provide an interface to the 2D graphics frame buffer (framebuffer).
And provide a unified standard interface between OpenGL and various operating systems to implement 3D graphics. From these attributes I
As you can see, SDL is basically thought to be a multimedia library that is developed at the core of computer games.