
Overview
The Madder Controller consists of a joystick and three buttons: triangle, circle, and plus. The Madder Controller class exists to register the Madder Controller with the Unity Input System and define the available controls.MadderController.cs
- Joystick: “joystick”
- Triangle Button: “triangle”
- Circle Button: “circle”
- Plus Button: “plus”
Usage
Upon loading the Unity Editor, the Madder Controller Registration class will automatically register the Madder Controller layout with the Unity Input System. You can then assign the bindings to your desired actions in the Unity Input System: Other -> Madder Controller.
PlayerInput
object.
When you create a new PlayerInput
object, Unity automatically checks for available input devices and will assign the
Madder Controller to the player.
SamplePlayerManager.cs
Note that the home button on the Madder Controller is not used for input and
is reserved for system functions.