Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Oculus Controller mapping update #308

Merged
merged 2 commits into from
Sep 5, 2019

Conversation

SimonDarksideJ
Copy link
Contributor

XRTK - Mixed Reality Toolkit Change Request

Overview

Resolving mapping issue originally identified in MRTK where near touch data was not identified and the "Pressed" call was called incorrectly.

Now in the OpenVR / Generic Joystick spec, digital buttons whether as a button or axis are ratified in the Button code, single-axis only axis data is handled separately.

Target of the change:

Is this enhancement for:

  • Core (core framework, interfaces and definitions)
  • Platform (new or updated platform)

Changes:

  • updates GenericJoystickController to identify buttons, inc axis buttons, in button code and single-axis only axis data separately
  • Update Oculus touch mapping to get Trigger pressed from the actual trigger data (not near touch)

Dependancies:

SDK change required to update default profiles.

Resolving mapping issue originally identified in MRTK where near touch data was not identified and the "Pressed" call was called incorrectly.

Now in the OpenVR / Generic Joystick spec, digital buttons whether as a button or axis are ratified in the Button code, single axis only axis data is handled separately.
@SimonDarksideJ SimonDarksideJ added Bug Something isn't working In Progress PR currently still being developed labels Sep 5, 2019
@StephenHodgson StephenHodgson merged commit 7f063e1 into development Sep 5, 2019
@StephenHodgson StephenHodgson deleted the fix/OculusControllermapping branch September 5, 2019 14:18
@StephenHodgson StephenHodgson removed the In Progress PR currently still being developed label Sep 5, 2019
@SimonDarksideJ
Copy link
Contributor Author

Lol, I'd put this in progress to prevent merging as there was a debate on GetAxis vs GetAxisRaw on MRTK. But if changes are needed I'll just do another PR :S

@StephenHodgson
Copy link
Contributor

Sorry mate

@SimonDarksideJ
Copy link
Contributor Author

We simply need to be sure to check flags when set, especially if it's "Ready for Review" :D

@StephenHodgson
Copy link
Contributor

I think there's github hooks to make sure those labels are there before we can merge. But not sure

XRTK-Build-Bot pushed a commit that referenced this pull request Sep 9, 2019
Resolving mapping issue originally identified in MRTK where near touch data was not identified and the "Pressed" call was called incorrectly.

Now in the OpenVR / Generic Joystick spec, digital buttons whether as a button or axis are ratified in the Button code, single axis only axis data is handled separately.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants