Skip to main content
New Participant
July 15, 2025

Interface of getting Controller joystick travel range

  • July 15, 2025
  • 5 replies
  • 331 views

Hello,

I’m fairly new to the Meta Spatial SDK, and while reviewing the Controller Input documentation, I couldn’t find any interface that allows retrieving the joystick’s travel range.

What I came across were examples treating joystick directions as “Buttons” (like ButtonThumbRL). However, what I’m trying to do is map the joystick’s travel to an attribute like “velocity.” Is there any way to access this information?

If I’ve missed something, my apologies, thank you!

This topic has been closed for replies.

5 replies

htaylor
Community Manager
July 17, 2025

Hi!

Great question! You mentioned you're looking for thumbstick travel range, are you looking for the maximum teleport distance? If that's the case, I'd recommend looking into the Teleport Interaction documentation here. In combination with the Spatial SDK, this should help clear up questions around teleport distance and thumbstick range. If not, please let me know a little bit more about your project's tech stack, for instance which engine and any other SDKs you might be using, and I'll be happy to do some more troubleshooting! 

-H

xiayipAuthor
New Participant
July 20, 2025

Hi again, thanks for your help! I forgot to mention an important detail:

My project doesn’t use Unity or Unreal Engine—I’m working exclusively with the Meta Spatial SDK, building a remote-control terminal for a robot. I have no need for a 3D rendering engine and definitely don’t want to integrate Unity just to read joystick ranges.

Is there any way to obtain the actual joystick travel (axis values) directly through the Meta Spatial SDK?

As I understand it, Spatial SDK is supposed to let developers build simple apps without needing Unity or Unreal—but it seems many input features (like full joystick axis data) might still rely on those engines. Is that an accurate assessment?

Really appreciate your guidance—if I’m missing something, I’d be grateful to know where to look!

xiayipAuthor
New Participant
July 21, 2025

Just to clarify, I'm not looking for the maximum teleport distance—what I need is the normalized mechanical travel of the controller joystick. For example, when normalized to [0, 1.0], if the joystick is pushed halfway, I receive a value of 0.5, and when it’s fully pushed, I receive 1.0, from Meta Spatial SDK.

My project is a remote teleoperation system for a robot: the Meta input is the robot’s camera image, and the output is linear velocity command read from Meta Controller joystick.

RiverExplorer
Honored Contributor
July 18, 2025

If using Unity or Unreal, you can get the joystick normalized value.

With Unity the new input system. 

With Unreal the enhanced input system.

A fantastic Unreal example: https://github.com/oculus-samples/Unreal-OculusInputTest

One thing I do not like about the categories, is I can't tell which engine you are using.

 

RiverExplorer.US]@gmail.com https://RiverExplorer.games
xiayipAuthor
New Participant
July 20, 2025

Hi , thanks for your help! 

My project doesn’t use Unity or Unreal Engine—I’m working exclusively with the Meta Spatial SDK, building a TeleOperation clinet for a robot, Input Image and out put velocity command from controller,  apparently It don't need Unity or Unreal.
Is there any way to obtain the actual joystick travel (axis values) directly through the Meta Spatial SDK?