Hi, I tried researching on this topic but I couldn’t find any answers. Is it possible to open roblox’s inventory (photo) below) via gamepad key?
Here’s the code I have currently:
local UserInputService = game:GetService("UserInputService")
--more testing code
UserInputService.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.Gamepad1 then
if input.KeyCode == Enum.KeyCode.ButtonY then
--open a backpack?
end
end
end)
If it’s FOR SOME REASON impossible, then is there any other possible solutions? For example making the ` button press itself or something?