Hi, I’m trying to detect a gamepad at launch using Connected input binding but it doesnt’ work. It works if I plug the gamepad after launch or if I disconnect it and connect it again. I’m using a Dualshock 4 via USB.
This is what I have. Should I add something on init()?
function on_input(self, action_id, action)
if action_id == hash("connected") then
gamepad = true
end
end