Simple DirectMedia Layer is a cross-platform development library
designed to provide low-level access to audio, keyboard, mouse,
joystick, and graphics hardware ia via OpenGL.
SDL is written in C and works natively with C++.
https://libsdl.org