Madder Controller
The Madder Controller for the Unity Input System
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.
The names which appear in the Unity input system are as follows:
- 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.
Controllers should not be added manually to the Unity Input System—The Madder Manager will detect
when a player has joined, register a new Madder Controller, and associate that controller with the gamername of the
player who has joined. Unity inputs can be assigned to a player by listening to the
OnRegisterMadderController event and creating a new 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.
Note that the home button on the Madder Controller is not used for input and is reserved for system functions.
Was this page helpful?