Skip to content
OpenEnvisionGameMap
GameMap
Games
Tools
Build

Coding agents, engines and pipelines that ship games.

  • ResourcesCurated tools, engines, models and asset pipelines.
  • Agent toolkitSkills, bridges, frameworks, workflows, benchmarks and game code.
  • Testing libraryPlaytesting, QA automation and benchmarks.
Research
Study

The papers and repositories behind the craft.

  • PapersPapers on game generation and world models.
  • Repository researchOpen-source game repositories, read closely.
Learn
中文/English
Submit a gameSign in
TEST · 63E0
Testing library

Testing resourceTools

SDL GameControllerDB

The community-maintained SDL controller mapping database, a plain-text fixture for repeatable gamepad input and button-layout regression tests.

Download gamecontrollerdb.txtPrimary source

At a glance

Testing goals
  • Coding & automated playtests
  • Vision, control & planning
Tracks
  • 2D
  • 3D
Code license
Zlib license for the database file.
On this recordOverviewDetailsLinks & resourcesSources & evidence

Details

Stack

SDL2 / SDL3 · gamecontrollerdb.txt · community-maintained GUID mappings

Asset license

Not a media asset collection; mappings are contributed data under the Zlib grant.

AI use in testing

Use a pinned copy of gamecontrollerdb.txt as a deterministic input fixture. A mapping entry is community-contributed data, not a guarantee that one device behaves identically across platforms or SDL versions.

Try these tasks

  • Load one pinned gamecontrollerdb.txt in two SDL versions and compare button and axis indices for the same GUID.
  • Replay a fixed input sequence with and without the database and record which devices fall back to a generic mapping.

Setup

  1. Pin a commit or release and store the exact gamecontrollerdb.txt beside the test project.
  2. Load the file through SDL_GameControllerAddMappingsFromFile (SDL2) or SDL_AddGamepadMappingsFromFile (SDL3) and log the detected controller GUID and platform.

Limitations

Community-sourced mappings can be corrected or removed between commits, and the README asks contributors not to submit AI-generated content. The database covers SDL 2.0.10 and newer; no controller or SDL build was run locally in this review.

Links & resources

Primary source

  • Primary source

Get started

  • Download gamecontrollerdb.txt

    A single text file; SDL2 loads it with SDL_GameControllerAddMappingsFromFile and SDL3 with SDL_AddGamepadMappingsFromFile. Compatible with SDL 2.0.10 and newer.

Read the terms

  • Read the terms

Supporting evidence

  • README with SDL2 and SDL3 loading calls
  • Database file with GUID mappings
  • Zlib license text

Sources & evidence

Terms category

Open-license sources

GameMap

A little direction for your next playable world.

ContributeCredits

Games

  • Game examples

Tools

  • Resources
  • Agent toolkit
  • Testing library

Research

  • Papers
  • Repository research

Learn

  • Guides & notes
Related sitesGame Art Style

Game art styles and visual references.

GitHub
GameMap