This is a breaking change. Like the web API, the gamepad API can have a 'mapping' parameter and unified enums for e.g. buttons.