contro
contro copied to clipboard
Show labels based on gamepad model
While on an Xbox controller the action buttons are called A, B, C, and D, on a PlayStation controller the action buttons are symbols (circle, square, ...). Contro should detect that and display the appropriate label.
These mappings might help.
How does the html 5 gamepad code identify what controller is being used?
Currently the code always uses the first available gamepad that supports the standard
mapping (more on that here) and switches to a different one when that gamepad is disconnected. Using multiple gamepads or selecting a specific gamepad out of multiple is therefore not possible at the moment.
I'm open to suggestions though, how would you expect/want the library to handle this?