Skip to content

Fix PSVR2 Sense thumbstick input never firing - #1261

Merged
untoldengine merged 2 commits into
developfrom
bugfix/issue_1260
Sep 28, 2026
Merged

untoldengine merged 2 commits into
developfrom
bugfix/issue_1260

Conversation

@untoldengine

Copy link
Copy Markdown
Owner

Summary

  • PSVR2 Sense wands only expose their single stick under the generic "Thumbstick"/"Thumbstick Button" keys on GCPhysicalInputProfile, not the "Left Thumbstick"/"Right Thumbstick" keys the handler was looking up — so those handlers were never attached and leftThumbstickX/Y, rightThumbstickX/Y, leftThumbStickActive/rightThumbStickActive, and leftThumbstickPressed/rightThumbstickPressed stayed stuck at their default values.
  • Routes stick events into GameControllerState's left/right fields using each wand's ARKit-derived chirality (the same mechanism already used for PSVR2 pose tracking), since both wands share the same generic key.
  • Adds a "Read thumbsticks" section to docs/API/UsingInputSystem.md.
  • Fully backward compatible: GameControllerState's public fields are unchanged, all touched code is private/internal to the module, and only the previously-dead PSVR2-stick code path is affected — non-PSVR2 controllers and PSVR2 buttons/triggers are untouched.

Fixes #1260

Test plan

  • swift build succeeds
  • swift test --filter PSVR2InputSystemTests passes (9 tests, including 4 new ones covering left/right chirality routing, deadzone, click, and unresolved-controller safety)
  • Verified on-device on Apple Vision Pro with PSVR2 Sense wands: left/right stick movement and clicks log correctly and independently

Each PSVR2 wand's single stick is exposed on GCPhysicalInputProfile
under the generic "Thumbstick"/"Thumbstick Button" keys, not the
GCExtendedGamepad-style "Left Thumbstick"/"Right Thumbstick" keys the
handler was looking up, so those handlers were never attached. Route
stick events into GameControllerState's left/right fields using the
wand's ARKit-derived chirality, and document thumbstick reads in
UsingInputSystem.md.
@untoldengine
untoldengine merged commit 67e45db into develop Sep 28, 2026
4 checks passed
@untoldengine
untoldengine deleted the bugfix/issue_1260 branch September 28, 2026 15:56
miogds added a commit to miolabs/UntoldEngine that referenced this pull request Sep 28, 2026
Sync fork develop with upstream: PSVR2 Sense thumbstick input fix (untoldengine#1261)
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.

PSVR2 Sense thumbstick input never fires (wrong GCPhysicalInputProfile keys)

1 participant