mozilla / galaxy

To infinity and beyond. The front-end UI.
BSD 3-Clause "New" or "Revised" License
9 stars 14 forks source link

Investigate using SDL game controller DB for `navigator.getGamepads` wrapper #209

Closed cvan closed 9 years ago

cvan commented 9 years ago

SDL has some open-sourced, crowd-sourced game-controller mappings:

https://github.com/gabomdq/SDL_GameControllerDB

This format doesn't seem to map to navigator.getGamepads' mapping, but we should investigate if we transform these mappings to work with navigator.getGamepads — that is, without SDL.

That would be awesome because then we could then upstream a bunch of mappings to that repo. Would be so fantastic!

Hat tip to @billmaggs for sharing this!

cvan commented 9 years ago

See mozilla/galaxy.js#21