Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Button input mapping to Rift S controllers in Unity

Discussion in 'Documentation' started by Deleted User, Jul 29, 2020.

  1. Deleted User

    Deleted User


    I've been searching for a list of Unity button mappings to Rift S controllers, but haven't had any luck. The following list simply indicates button input numbers, as opposed to the name of the button themselves:

    On a Rift S controller, 'JoystickButton0' is button A. But I was only able to determine that by using 'JoystickButton0' in the code and then trying all the buttons myself to see which corresponded to it.

    Is there a list which indicates which buttons are tied to each of those names?