webxr-gamepads-module icon indicating copy to clipboard operation
webxr-gamepads-module copied to clipboard

negative value for gamepad id

Open ylafon opened this issue 4 years ago • 4 comments

While looking at https://github.com/w3ctag/design-reviews/issues/430 during our F2F, we figure out that section 3.2 is mandating gamepad's index to be -1. Gamepad Index definition states that it is a positive integer, so an issue must be files on Gamepad to document the delegation of identification of the gamepad when the index is negative (or with a specific value of -1). You might also want to defined a specific value to achieve the same for the gamepad id.

ylafon avatar Dec 03 '19 23:12 ylafon

Just to reiterate, as negative values are in direct contradiction with the Gamepad spec, please work with them to figure out a way forward (allowing negative values with a "reserved" definition, register specific positive values for that or anything that would solve this conflict). Thanks!

ylafon avatar Apr 21 '20 08:04 ylafon

https://github.com/immersive-web/webxr-gamepads-module/issues/27

Manishearth avatar Dec 28 '21 19:12 Manishearth

@toji @cabanier we have an answer from gamepads spec's editors as https://github.com/w3c/gamepad/pull/158#issuecomment-1888207277 is it possible to consider of fix within gamepads module of WebXR?

/cc @Manishearth

himorin avatar Jan 30 '24 08:01 himorin

It seems like Gamepad told us to continue doing whatever we're doing so I'm not sure if there's anything more to be done here.

We can potentially say we are modifying that spec? Not sure if that's a good path.

Manishearth avatar Jan 30 '24 18:01 Manishearth