SDL_GameControllerDB is a community-maintained database of game controller mappings designed to be used with the SDL (Simple DirectMedia Layer) library’s Game Controller API for both SDL2 and SDL3. Because many controllers report different axes and button layouts depending on platform and manufacturer, this project provides a large text database (gamecontrollerdb.txt) that maps those raw inputs to a standardized layout for consistent use in games and applications across Windows, macOS, Linux, Android, and other SDL-supported systems. Developers simply include or load the database file at runtime and call SDL’s API to add mappings, which enables out-of-the-box support for controllers that would otherwise behave unpredictably. The repository encourages community contributions so new or uncommon controllers can be added as they’re discovered and tested.

Features

  • Community-sourced controller mappings for SDL2 and SDL3
  • Text database compatible with SDL’s native API
  • Broad support for many brands and models of gamepads
  • Easy to update and extend by contributors
  • Cross-platform consistent controller behavior
  • Simple load-at-runtime mechanism for SDL apps

Project Samples

Project Activity

See All Activity >

Categories

Game Controller

License

zlib/libpng License

Follow SDL_GameControllerDB

SDL_GameControllerDB Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of SDL_GameControllerDB!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Python

Related Categories

Python Game Controller Software

Registered

2026-01-05