Skip to content

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

Merged
Manishearth merged 5 commits intoimmersive-web:masterfrom
fordacious:patch-1
Nov 13, 2020
Merged

Create generic-hand-select-grasp.json#185
Manishearth merged 5 commits intoimmersive-web:masterfrom
fordacious:patch-1

Conversation

@fordacious
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor Author

@toji How's it looking?

Copy link
Copy Markdown
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.

3 participants