Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input support for OpenXR #66

Merged
merged 3 commits into from Oct 4, 2019
Merged

Input support for OpenXR #66

merged 3 commits into from Oct 4, 2019

Conversation

@Manishearth
Copy link
Member

Manishearth commented Oct 3, 2019

Requires #65

This treats the right hand as an input source. While I've tested the input code, I haven't yet tested this hooked up to the Servo DOM (servo/servo#24362), so I'd like to hold off on merging this until I get a chance

Still, feel free to review the last few commits that have "openxr" in their bodies

@Manishearth Manishearth force-pushed the Manishearth:openxr-input branch from 66e5a36 to ec8211e Oct 3, 2019
@Manishearth Manishearth changed the title [WIP] Input support for OpenXR Input support for OpenXR Oct 4, 2019
@Manishearth
Copy link
Member Author

Manishearth commented Oct 4, 2019

This works. r? @jdm @asajeffrey

@jdm
jdm approved these changes Oct 4, 2019
@@ -436,10 +440,23 @@ impl Device for OpenXrDevice {
.locate(&self.space, self.frame_state.predicted_display_time)
.unwrap();

let pose_valid = location.location_flags.intersects(
SpaceLocationFlags::ORIENTATION_VALID | SpaceLocationFlags::ORIENTATION_VALID,

This comment has been minimized.

@jdm

jdm Oct 4, 2019

Member

This looks weird - are there supposed to be two different flags here?

This comment has been minimized.

@Manishearth

Manishearth Oct 4, 2019

Author Member

Yes

This comment has been minimized.

@Manishearth

Manishearth Oct 4, 2019

Author Member

Fixed.

@Manishearth Manishearth force-pushed the Manishearth:openxr-input branch from ec8211e to 32f45dc Oct 4, 2019
@Manishearth
Copy link
Member Author

Manishearth commented Oct 4, 2019

@bors-servo r=jdm

@bors-servo
Copy link
Contributor

bors-servo commented Oct 4, 2019

📌 Commit 32f45dc has been approved by jdm

@bors-servo
Copy link
Contributor

bors-servo commented Oct 4, 2019

Testing commit 32f45dc with merge 31e9b53...

bors-servo added a commit that referenced this pull request Oct 4, 2019
Input support for OpenXR

Requires #65

This treats the right hand as an input source. While I've tested the input code, I haven't yet tested this hooked up to the Servo DOM (servo/servo#24362), so I'd like to hold off on merging this until I get a chance

Still, feel free to review the last few commits that have "openxr" in their bodies
@bors-servo
Copy link
Contributor

bors-servo commented Oct 4, 2019

💔 Test failed - checks-travis

@Manishearth Manishearth force-pushed the Manishearth:openxr-input branch from 32f45dc to 8b41743 Oct 4, 2019
@Manishearth
Copy link
Member Author

Manishearth commented Oct 4, 2019

@bors-servo r=jdm

@bors-servo
Copy link
Contributor

bors-servo commented Oct 4, 2019

📌 Commit 8b41743 has been approved by jdm

@bors-servo
Copy link
Contributor

bors-servo commented Oct 4, 2019

Testing commit 8b41743 with merge f6820b7...

bors-servo added a commit that referenced this pull request Oct 4, 2019
Input support for OpenXR

Requires #65

This treats the right hand as an input source. While I've tested the input code, I haven't yet tested this hooked up to the Servo DOM (servo/servo#24362), so I'd like to hold off on merging this until I get a chance

Still, feel free to review the last few commits that have "openxr" in their bodies
@bors-servo
Copy link
Contributor

bors-servo commented Oct 4, 2019

☀️ Test successful - checks-travis
Approved by: jdm
Pushing f6820b7 to master...

@bors-servo bors-servo merged commit 8b41743 into servo:master Oct 4, 2019
3 checks passed
3 checks passed
Travis CI - Pull Request Build Passed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@Manishearth Manishearth deleted the Manishearth:openxr-input branch Oct 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.