Detecting controller emulator within studio?

Hello so I’m on the last device to support which is console for my game and I’m trying to differentiate between console and pc but having a bit of trouble because even when I have the gamepad emulation controller menu open, it still says false?

local function isConsole()
   local gis = game:GetService("GuiService")
   if gis:IsTenFootInterface() then
      return true
   end
   return false
end

Take a look at this. Hopefully it helps.

1 Like

Yeah turns out I just needed to use UserInputService:GamepadEnabled, thank you

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.