Controller |
The ControllerMap type exposes the following members.
Name | Description | |
---|---|---|
![]() | AllMaps | Gets all ActionElementMaps in this controller map. |
![]() | buttonMapCount | The count of all Button ActionElementMaps contained in this controller map. |
![]() | ButtonMaps | Gets all Button ActionElementMaps in this controller map. |
![]() | categoryId | The id of the Map Category of this controller map. |
![]() | controller | The controller this controller map applies to. |
![]() | controllerId | The id of the controller this controller map applies to. |
![]() | controllerType | The type of controller this controller map applies to. |
![]() | elementMapCount | The count of all ActionElementMaps contained in this controller map. |
![]() | ElementMaps | Gets all ActionElementMaps in this controller map. Alias for AllMaps. |
![]() | enabled | Is the controller map enabled? Disabled maps will never return input values for the ActionElementMaps contained within. |
![]() | hardwareGuid | The GUID of the controller definition this map is for. This GUID corresponds to the Rewired HardwareJoystickMap controller definition and can be used to identify recognized controller types. This will always be Guid.Empty for Unknown Controllers. |
![]() | id | The unique id of this controller map. This value is not consistent between game sessions, so do not store it. |
![]() | isModified | Determines if the Controller Map has been modified since it was created. If this is manually set to true, modifiedTime will also be set to the current time. |
![]() | layoutId | The id of the Layout of this controller map. |
![]() | modifiedTime | The last time the Controller Map was modified since it was created. Returns 0 if the Controller Map was not modified or if isModified was set to false. |
![]() | name | The name of this controller map. (This is currently unused and will always be blank.) |
![]() | player | The parent Player that owns this controller map. |
![]() | playerId | The id of the Player that owns this controller map. |
![]() | sourceMapId | The id of the original source ControllerMap from the Rewired Input Manager. This is only valid for maps loaded from the Rewired Input Manager on start, not maps loaded via XML or created at runtime. |