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

Experimental hand tracking gestures #1715

Closed
wants to merge 1 commit into from

Conversation

Meister1593
Copy link
Collaborator

Adding support for pinch, grab gestures to use them in-game via controller emulation

@Meister1593 Meister1593 marked this pull request as draft June 30, 2023 13:35
@@ -265,7 +267,89 @@ pub fn to_openvr_hand_skeleton(
* Quat::from_euler(EulerRot::YXZ, -FRAC_PI_2, FRAC_PI_2, 0.0),
position: gj[1].position,
};

// test pinch
Copy link
Member

Choose a reason for hiding this comment

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

I believe this is not the right function where to do this. to_openvr_hand_skeleton was supposed to be a "pure" function, ie no side effects. You can create another function with the only purpose of detecting and sending pinches.

@zmerp
Copy link
Member

zmerp commented Sep 12, 2023

Hand tracking gestures support has been merged

@zmerp zmerp closed this Sep 12, 2023
@Meister1593 Meister1593 deleted the pinch-gestures branch April 6, 2024 14:34
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.

2 participants