Skip to content

Remove bad code in meta-touch-controls for thumbstick rotation#5775

Merged
dmarcos merged 1 commit into
aframevr:masterfrom
vincentfretin:dead-code-meta-touch-controls
Dec 15, 2025
Merged

Remove bad code in meta-touch-controls for thumbstick rotation#5775
dmarcos merged 1 commit into
aframevr:masterfrom
vincentfretin:dead-code-meta-touch-controls

Conversation

@vincentfretin

Copy link
Copy Markdown
Contributor

Description:

Remove bad code in meta-touch-controls for thumbstick rotation that gives error with Rift controllers.
That was reported on discord for aframe 1.7.1
https://discord.com/channels/479784974917042186/479787777949433900/1428015046046257213

For context, that code with originalRotation was originally written in efb5c3a to support button highlighting for Oculus 2 controllers, that part of the code wasn't properly checking for isOculusTouchV3. And that code was later modified in 97b8a2b to support Meta Quest Pro, removing this originalRotation, adding a specific code path for isTouchV3orPROorPlus so making that block of code really dead.

@vincentfretin
vincentfretin force-pushed the dead-code-meta-touch-controls branch from 5b6e267 to e087f44 Compare December 15, 2025 15:20
@dmarcos

dmarcos commented Dec 15, 2025

Copy link
Copy Markdown
Member

thanks!

@dmarcos
dmarcos merged commit bf2c59a into aframevr:master Dec 15, 2025
1 check passed
@vincentfretin
vincentfretin deleted the dead-code-meta-touch-controls branch December 15, 2025 15:56
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