HapticService not supporting motors on xbox one controller

I’m trying to set up haptics for xbox one controllers in my game

local HapticService = game:GetService("HapticService")

wait(3)
print(HapticService:IsMotorSupported(Enum.UserInputType.Gamepad1, Enum.VibrationMotor.Large))
print(HapticService:IsMotorSupported(Enum.UserInputType.Gamepad1, Enum.VibrationMotor.Small))
print(HapticService:IsMotorSupported(Enum.UserInputType.Gamepad1, Enum.VibrationMotor.RightTrigger))
print(HapticService:IsMotorSupported(Enum.UserInputType.Gamepad1, Enum.VibrationMotor.LeftTrigger))
print(HapticService:IsMotorSupported(Enum.UserInputType.Gamepad1, Enum.VibrationMotor.LeftHand))
print(HapticService:IsMotorSupported(Enum.UserInputType.Gamepad1, Enum.VibrationMotor.RightHand))

it just prints false for all of them. why?

Your controller doesn’t have any motors or you have haptics off in roblox settings.

i had it on in the settings and the controller has motors since they vibrated when using on xbox

Try using different controller input type

You can check for if any gamepad is pressed too, and capture all gamepad inputs if the following value is true:

-- input is an InputObject.
local IsAnyGamepad : boolean = input.UserInputType.Name:find("Gamepad", 1) ~= nil