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