Dpad weird behavior

DPad input showing up as Thumbstick1 in UserInputService?

Hi, I’m running into a weird controller input issue and I’m not sure if this is intended behavior or a bug.

When I press the DPad on a controller, Roblox doesn’t detect it as Enum.KeyCode.DPadUp/Down/Left/Right. Instead, it shows up as Thumbstick1 input with a position vector.

For example when I press DPad Up, the output looks like this(the image)

So it looks like Roblox is treating the DPad as if it were analog stick movement.

I expected DPad presses to return Enum.KeyCode.DPadUp etc, but they don’t seem to appear at all.

Is this normal behavior for controller input, or is something converting DPad input into thumbstick input internally?

If anyone has run into this before or knows what’s going on, I’d appreciate the help

4 Likes

Hello! Let me do some testing, and I will get back to you in a couple of minutes.


ok so what i know about it is this only happen when you have create a place and published like basically only happen for published place

Hello! I did some testing with the following local script

local inputservice = game:GetService("UserInputService")
inputservice.InputBegan:Connect(function(input)
	print(input.KeyCode.Name)
	print(input.UserInputType)
end)

And for me, when I press the D pad, it says the button I press, for example, left, right, down and up.

i have posted a video, you should go check it out

That’s strange. It might just be that Roblox auto-converts it into a thumbstick input.

has this been fixed on roblox as a whole yet? i’m currently experiencing this with controller with every game i play, even the ones that have console compatibility.