Player.ControllerHelper.MapHelper.GetMap Method (ControllerType, Int32, Int32, Int32) |
Gets a controller map for a specific controller by id assigned to this Player.
Namespace:
Rewired
Assembly:
Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic ControllerMap GetMap(
ControllerType controllerType,
int controllerId,
int categoryId,
int layoutId
)
Parameters
- controllerType
- Type: Rewired.ControllerType
Controller type - controllerId
- Type: System.Int32
Controller id - Get this from the Controller.id property. For Keyboard and Mouse, just use 0. - categoryId
- Type: System.Int32
Category id - layoutId
- Type: System.Int32
Layout id
Return Value
Type:
ControllerMapController Map
See Also