Xbox Controller Button R3 is missing from the Game Processed Event

Bug Description: I don’t know when this happened, but I only found out recently, when using the User Input Service to detect button presses, to avoid tying a message in chat from firing the button, I used the roblox recommended (example):

UserInputService.InputBegan:Connect(function(input, gameProcessedEvent)
	if not gameProcessedEvent then
	-- Put your button detection stuff here
		if input.KeyCode == Enum.KeyCode.ButtonR3 then
			print("Button R3 Pressed On Controller")
		end
		if input.KeyCode == Enum.KeyCode.ButtonL3 then
			print("Button L3 Pressed On Controller")
		end
	end
end)

That has worked for a long time, but just recently it broke. It can no longer detect when ButtonR3 is pressed, but detecting ButtonL3 still works fine. I have an Xbox controller I use to test with and can confirm that R3 is being ignored for some reason. I don’t know when it happened. As luck would have it, if you move that R3 button detection outside of the Game Processed Event, then it works again at least, thought during a chat window, etc.

When: Not sure when this changed, was only brought to my attention this week.

Reproduce: Always, in the code at least with an Xbox controller or a real Xbox if you have one handy and the latest version of the Roblox game engine.

Video or Images?: Ok, it is recommended to create a game file for this, so let me attach one real quick.
bug world demo.rbxl (34.6 KB)

We’ve filled a ticket into our internal database for this issue, and we will update you when we have further information.

Thanks for flagging!

1 Like

Hey!

This is working as intended. ButtonR3 is bound to camera zoom which is why gameProcessedEvent returns True. In general, when a button does something, gameProcessedEvent returns true. You can learn more about binding buttons here!

Thanks!

1 Like

If it is by design, no argument, more of a question of why it’s the only one? All the other Xbox buttons are bound to various actions but they all pass the game Processed Event as false, but you singled out a single button to be the exception?

1 Like

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