Add this to your codebase and activating a gamepad causes a button mapping screen to pop up.
It will request to map any buttons not already covered by the automapping database.
If you're wondering what scenes refers to, check out SceneManager to
get started.
Note: many browsers only fire gamepadconnected on first button press, so always writing "P2: press any button" is a fine idea.
An automagical gamepad mapper.
Add this to your codebase and activating a gamepad causes a button mapping screen to pop up. It will request to map any buttons not already covered by the automapping database.
If you're wondering what
scenesrefers to, check out SceneManager to get started.Note: many browsers only fire gamepadconnected on first button press, so always writing "P2: press any button" is a fine idea.