Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

Commit

Permalink
The HoloLens either prior to hand detection, or on hand lost creates …
Browse files Browse the repository at this point in the history
…an InteractionState of type "unknown". (#122)

This update ignores any hands other than left or right on HL1. Tested with HL1
  • Loading branch information
SimonDarksideJ authored Feb 4, 2021
1 parent 5f15fc5 commit 92da950
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -409,8 +409,7 @@ private WindowsMixedRealityMotionController GetController(InteractionSource inte
switch (interactionSource.handedness)
{
default:
handedness = Handedness.None;
break;
return null;
case InteractionSourceHandedness.Left:
handedness = Handedness.Left;
break;
Expand Down

0 comments on commit 92da950

Please sign in to comment.