webxr: Update XRInputSource Gamepad handling, FakeXRInputController (#33403)

* Disconnect XRInputSource gamepads on removal

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Update Cargo.lock

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Comments, adjustments

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Update expectations

Signed-off-by: Daniel Adams <msub2official@gmail.com>

---------

Signed-off-by: Daniel Adams <msub2official@gmail.com>
This commit is contained in:
Daniel Adams 2024-09-12 01:52:16 +00:00 committed by GitHub
parent d9be9d6bd4
commit 08a4d751d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 84 additions and 29 deletions

View file

@ -1,5 +1,5 @@
[events_session_squeeze.https.html]
expected: ERROR
expected: TIMEOUT
[XRInputSources primary input presses properly fires off the right events - webgl]
expected: TIMEOUT

View file

@ -1,8 +0,0 @@
[xrInputSource_gamepad_disconnect.https.html]
expected: ERROR
[WebXR InputSource's gamepad gets disconnected when the input source is removed - webgl2]
expected: NOTRUN
[WebXR InputSource's gamepad gets disconnected when the input source is removed - webgl]
expected: TIMEOUT

View file

@ -1,5 +1,5 @@
[events_session_squeeze.https.html]
expected: ERROR
expected: TIMEOUT
[XRInputSources primary input presses properly fires off the right events - webgl]
expected: TIMEOUT

View file

@ -1,8 +0,0 @@
[xrInputSource_gamepad_disconnect.https.html]
expected: ERROR
[WebXR InputSource's gamepad gets disconnected when the input source is removed - webgl2]
expected: NOTRUN
[WebXR InputSource's gamepad gets disconnected when the input source is removed - webgl]
expected: TIMEOUT