Made for iOS (MFi) controllers offer out of the box input mappings, but you can set up custom mappings using the Unity Input System package.
To remap buttons for a MFi device:
To map buttons for supported controllers, use the following binding information:
| Controller Type | Path to bind button |
|---|---|
| All Gamepads | Gamepad > [Desired button] |
| iOS Gamepads | Gamepad > iOS Gamepad > [Desired button] |
| Specific iOS Gamepads. For example, a PlayStation DualSense controller. | Gamepad > PlayStation Controller > iOS DualSense Gamepad > [Desired button] |
After completing these steps, reference the Input Action Asset in your C# code. For more information, refer to Create actions in code.