Auto merge of #25463 - Manishearth:input-mocking, r=asajeffrey

Add input mocking, input sources change event

Depends on  https://github.com/servo/webxr/pull/118

Also fixes some bugs I found.

Wanted to finish and merge this before I started on hit testing since the transient hit test stuff might have overlap.

There are a bunch of missing mock pieces that I'll probably do in a separate PR.

Still need to run tests.

Some things I skipped:
 - Doing handedness/target ray setting: See https://github.com/immersive-web/webxr-test-api/issues/46 , this would require making our impl support these changing
 - Handling button initial state: Would require some mock changes, but I ran out of time
 - Handling profiles/etc: We don't yet have impl support for these

r? @jdm
This commit is contained in:
bors-servo 2020-01-09 02:45:49 -05:00 committed by GitHub
commit dbee7f7d27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 485 additions and 79 deletions

4
Cargo.lock generated
View file

@ -6461,7 +6461,7 @@ dependencies = [
[[package]]
name = "webxr"
version = "0.0.1"
source = "git+https://github.com/servo/webxr#c6abf4c60d165ffc978ad2ebd6bcddc3c21698e1"
source = "git+https://github.com/servo/webxr#ed1ec1afadce730247401e60994b7f6ff226639d"
dependencies = [
"bindgen",
"euclid",
@ -6482,7 +6482,7 @@ dependencies = [
[[package]]
name = "webxr-api"
version = "0.0.1"
source = "git+https://github.com/servo/webxr#c6abf4c60d165ffc978ad2ebd6bcddc3c21698e1"
source = "git+https://github.com/servo/webxr#ed1ec1afadce730247401e60994b7f6ff226639d"
dependencies = [
"euclid",
"ipc-channel",