UserInputService Detection For Mobile Controls

As a Roblox developer, it is currently impossible to . . .
To detect virtual joystick events from mobile devices. Currently there are no UserInputService events for virtual joystick movements.

If Roblox is able to address your issue, how would it improve your game and/or your development experience?

I need to be able to detect whether the user moves the virtual joystick forward, back, left, or right for some character control scripts that I am writing.

I expected the PlayerAction bindings (eg: Enum.PlayerActions.CharacterForward, etc) to be triggered when the user moves the virtual joystick, but this is not the case. There seems to be no UserInputService events at all for the mobile joystick.

There is sort of a work around by calling the GetMoveVector() function of the master controller script, but that is not ideal, since the code may break if those scripts are ever altered. And I really need an event-based solution to know when joystick movement occurs.

So why not just add some additional UserInputService events to the API for virtual joysticks.

7 Likes

It really bugs me that this still hasn’t been addressed. As of now, the aforementioned method of detecting mobile input is already broken, and other than Humanoid.MoveDirection (which breaks for what I’m trying to do, since the character is sometimes facing sideways and needs to move straight upwards), there is no reliable way of doing this.

Some sort of API would be really helpful.

4 Likes