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

Create generic-hand-select-grasp.json #185

Merged
merged 5 commits into from Nov 13, 2020

Conversation

fordacious
Copy link
Contributor

@fordacious fordacious commented Oct 30, 2020

Proposing the generic-hand-select-grasp input profile. This input profile is appropriate for hand tracked systems which expose select and squeeze gestures in which the squeeze gesture may overlap with the select gesture and does not fire squeeze events.

@fordacious fordacious changed the title Create generic-hand-select-squeeze.json WIP: Create generic-hand-select-squeeze.json Oct 30, 2020
…eric-hand-select-grasp.json

overlapping-squeeze -> grasp
@fordacious fordacious changed the title WIP: Create generic-hand-select-squeeze.json WIP: Create generic-hand-select-grasp.json Oct 30, 2020
@Manishearth
Copy link
Contributor

So do y'all intend to trigger squeeze events when this profile is being used, or will this just be signalled as a toggling of the "grasp" button?

Because if you trigger squeeze events that overlap with select, you're liable to have lots of bugs on content that is written for devices with independent select/squeeze events (see immersive-web/webxr#997)

@fordacious fordacious changed the title WIP: Create generic-hand-select-grasp.json Create generic-hand-select-grasp.json Nov 5, 2020
@fordacious
Copy link
Contributor Author

@Manishearth the idea for this one is to NOT trigger squeeze events. I renamed squeeze to grasp in this case to disambiguate that a bit. I'm not 100% on what the naming should be though so I think this is worthy to discuss.

@Manishearth
Copy link
Contributor

Ah, that works great then. I'm r+ on this, and we may want to mention this profile in the hand input repo.

Copy link
Contributor

@Manishearth Manishearth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@toji should r+ too

@fordacious
Copy link
Contributor Author

@toji How's it looking?

Copy link
Member

@toji toji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Manishearth Manishearth merged commit cbb602a into immersive-web:master Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants