For the #remapping section [1], we should consider to manage a gamepad mapping list for different gamepad vendors. I notice gamepad vendors have their own mapping rule and most of them are different. Now, I can use *hid* and call GetValueCaps() to get the same amount for wired and wireless mode with 10 axes, but we have to deal the mapping rule. [1] https://www.w3.org/TR/gamepad/#remapping
Bug 1465643 Comment 1 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
For the #remapping section [1], we should consider to manage a gamepad mapping list for different gamepad vendors. I notice gamepad vendors have their own mapping rule and most of them are different. Now, I can use *hid* and call GetValueCaps() to get the same amount for wired and wireless mode with 10 axes, but we have to deal the mapping rule. Btw, on MacOS, DS4 has 18 btns and 6 axes. [1] https://www.w3.org/TR/gamepad/#remapping