contro icon indicating copy to clipboard operation
contro copied to clipboard

Show labels based on gamepad model

Open niklashigi opened this issue 7 years ago • 2 comments

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.

niklashigi avatar Jan 04 '18 19:01 niklashigi

How does the html 5 gamepad code identify what controller is being used?

quinton-ashley avatar Aug 19 '19 20:08 quinton-ashley

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?

niklashigi avatar Aug 19 '19 20:08 niklashigi