Open Roblox's Backpack (inventory) on a gamepad's key press

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?

There is no way to open the default inventory GUI via code; UserInputService and the like do not provide developers with a means of simulating inputs, and there is no other API member that can toggle core GUI visibility specifically. Your only choice is to implement your own inventory system