Gamepad R2 is considered a M1. How To Disable?

Hi all,

I realized that the RT on the gamepad controller is the same as a M1. How should I disable this?

I have tried this:

contextActionService:BindAction("R2Override", function() end, false, Enum.KeyCode.ButtonR2)

But that did not make any difference. Is there a better solution to this?

Thanks!

Adding return Enum.ContextActionResult.Sink in the function doesn’t work either.

the solution was to add a condition inside the mousebutton1 event to check if the player is on gamepad. who would have thought