The Controller Input script can be used to assign functions to various controller and keyboard input events.
|Finger Movements||This enables a built-in support for finger movements from the controller buttons.|
|Game Controller||This selects which controller type is showed. This setting has no effect on the working of the Controller Input. It helps to determine how the actions are assigned to buttons or various supported controllers. Controller Type Keyboard is special because that enables you to assign keyboard key presses to function calls instead of controller buttons.|
You can assign controller buttons to certain functions. Controller input is split into a left and right side. For some controllers, this corresponds to the left or right controller (e.g. SteamVR or Oculus Touch controllers). For game controllers like the Xbox Controller, this corresponds to the left and right side of the gamepad.
Note that all controllers use the assignment and setting the Left Vertical Input for one controller also changes the Left Vertical input for all other controllers. Inputs on the same line of the editor of each controller are the same.
Every input is using an Event Handler to define its behaviour.