MixedRealityToolkit-Unity icon indicating copy to clipboard operation
MixedRealityToolkit-Unity copied to clipboard

Oculus Touch controller won't send an action when trigger is pressed

Open ChauNTran opened this issue 7 years ago • 4 comments

Describe the bug

Oculus Touch controller won't send an action when trigger button is fully pressed. Action has "Digital" axis constraint.

To reproduce

Steps to reproduce the behavior:

  1. Make new scene using a clone of DefaultMixedRealityToolkitConfigurationProfile
  2. Clone and apply DefaultMixedRealityInputSystemProfile, DefaultMixedRealityInputActionProfile, and DefaultMixedRealityControllerMappingProfile
  3. Make sure the is "Select" action with "Digital" axis constraint in the MixedRealityInputActionProfile.
  4. In the MixedRealityControllerMappingProfile, map the "Select" action to Oculus Touch controller under Axis1D.PrimaryIndexTriggerPress and Axis1D.SecondaryIndexTriggerPress

Expected behavior

"Select" action is supposed to be fired when the trigger button is fully pressed.

Screenshots

If applicable, add screenshots to help explain your problem.

Your Setup (please complete the following information)

  • Unity Version 2018.3.9f1
  • MRTK Version RC1

Target Platform (please complete the following information)

  • Oculus running on OpenVR

ChauNTran avatar Apr 24 '19 20:04 ChauNTran

also ran into this issue. is there a workaround?

ddutchie avatar Jun 24 '19 08:06 ddutchie

I'll investigate, but a simple workaround is to use the singleaxis axis and test if the value is 1 (or above 0.9) before actioning.

I assume you are working on OpenVR though SteamVR in your tests?

SimonDarksideJ avatar Jun 24 '19 09:06 SimonDarksideJ

Correct. Running with Open VR.Thanks!

ddutchie avatar Jul 02 '19 17:07 ddutchie

Should be fixed via https://github.com/microsoft/MixedRealityToolkit-Unity/pull/5874

keveleigh avatar Oct 23 '19 19:10 keveleigh