sdl2
« Back to VersTracker
Description:
Low-level access to audio, keyboard, mouse, joystick, and graphics
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Multimedia
Tags: multimedia gamedev graphics cross-platform audio
Install: brew install sdl2
About:
SDL2 is a cross-platform development library designed to provide low-level access to audio, keyboard, mouse, joystick, and graphics via OpenGL and Direct3D. It abstracts platform-specific complexities, allowing developers to write code once and deploy it across Windows, macOS, Linux, iOS, and Android. Its robust API is the industry standard for game development and multimedia applications.
Key Features:
  • Cross-platform input handling (keyboard, mouse, gamepads)
  • High-performance 2D graphics rendering
  • Audio mixing and playback abstraction
  • Thread and event management
Use Cases:
  • Developing cross-platform video games
  • Building multimedia applications and emulators
  • Creating interactive graphical tools
Alternatives:
  • GLFW – Focuses primarily on windowing and input, whereas SDL2 provides a more comprehensive suite including audio and threading.
  • SFML – Offers a more modern C++ API compared to SDL2's C-based interface, but SDL2 has broader platform support.
Version History
Detected Version Rev Change Commit
Sep 10, 2025 9:52am 0 VERSION_BUMP 90bc74fa
Jan 2, 2025 6:12am 0 VERSION_BUMP af6ab300
Nov 3, 2024 11:40am 0 VERSION_BUMP 15580a5f
Sep 2, 2024 5:30am 0 VERSION_BUMP a63ab507
Aug 4, 2024 5:05pm 0 VERSION_BUMP 3ae32221
Jul 6, 2024 1:47pm 0 VERSION_BUMP 2f31696f
May 1, 2024 6:45pm 0 VERSION_BUMP 4d9e0102
Feb 3, 2024 8:53am 0 VERSION_BUMP 5f2b3ba5
Dec 11, 2023 4:53pm 0 VERSION_BUMP 75eeb198
Nov 3, 2023 7:38pm 0 VERSION_BUMP 83567fb7
Sep 8, 2023 4:07am 0 VERSION_BUMP 52ce0d71