[Bug 17309] It is not defined what the value of Gamepad.index should be after disconnecting the gamepad

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17309

--- Comment #8 from Scott Graham <scott.w3bugzilla@h4ck3r.net> ---
The important part here is that unplugging #0 doesn't change the index on #1
when 1 continues to be connected.

When 0 is reinserted, it should just find the first empty slot, meaning that if
you had 0,1,2 plugged in, unplugged 0 and 1 and then replugged 1 first, it'd be
OK for that to become 0 (rather than resuming being 1). If there's some reason
for it to stay 1, that's OK too (e.g. the Xbox 360 indicator thingy has the
user still assigned as player 1)

Given that, I'm fine with whatever value as a sigil, but it probably makes
sense to lose its .index.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 22 March 2013 15:52:50 UTC