Client
Return true if a controller is connected, false otherwise.
local retval --[[ boolean ]] = input.controller_is_connected()
if input.controller_is_connected() then -- Do something with the controller axis/buttons... end
Last updated 5 months ago