immersive-web / webxr-input-profiles

WebXR Gamepad assets, source library, and schema
https://immersive-web.github.io/webxr-input-profiles
Other
189 stars 50 forks source link

The assignment of the "select" component is locale sensitive #94

Open kearwood opened 4 years ago

kearwood commented 4 years ago

For some devices, it is expected that the conventional component responsible for causing select, selectstart, and selectend events to fire will differ between regions of the world for the same physical input device.

As an example, the Playstation controller "X" and "O" buttons are consistently placed for all regional variations of the controller; however, their function is inverted in Japan vs the other world regions.

Perhaps we should consider adding a key to the profile mapping that enables locale-specific mappings to be assigned.

kearwood commented 4 years ago

I suspect this issue would have a higher priority if this registry is to be used for regular gamepads and not just for use within XR immersive experiences.

NellWaliczek commented 4 years ago

Huh, I didn't know that! Ok, so here's the big question... is this true for any XR input sources? I can't think of any, so I'm inclined to push to Future. If that's wrong, please let me know!