Click or drag to resize

GCControllerInputControllerAssignment Class

Provides access to controller assignment-related settings at runtime.
Inheritance Hierarchy
SystemObject
  Rewired.Platforms.Apple.GameControllerGCControllerInputControllerAssignment

Namespace:  Rewired.Platforms.Apple.GameController
Assembly:  Rewired_OSX (in Rewired_OSX.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static class ControllerAssignment

The GCControllerInputControllerAssignment type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberassignJoysticksByNativePlayerIndex
If enabled, Joysticks will be assigned based on the GCController player index associated with the controller to a specific Rewired Player. The GCController player index to Rewired Player associations must be set up using the other functions in this class before they will have any effect.
Top
Methods
  NameDescription
Public methodStatic memberClearNativePlayerIndices
Clears all native GCController player index to Player associations.
Public methodStatic memberContainsNativePlayerIndex
Determines if there is a Player association with the native GCController player index.
Public methodStatic memberGetNativePlayerIndicesForPlayer(Int32, ListGCControllerPlayerIndex)
Get the native GCController player indices associated with the Rewired Player.
Public methodStatic memberGetNativePlayerIndicesForPlayer(Player, ListGCControllerPlayerIndex)
Get the native GCController player index associated with the Rewired Player.
Public methodStatic memberGetPlayerForNativePlayerIndex
Gets the Rewired Player associated with the native GCController player index.
Public methodStatic memberGetPlayerIdForNativePlayerIndex
Gets the Rewired Player id associated with the native GCController player index.
Public methodStatic memberRemoveNativePlayerIndex
Removes the Player association for the local XUser id.
Public methodStatic memberSetPlayerForNativePlayerIndex(GCControllerPlayerIndex, Player)
Sets the native GCController player index associated with the Rewired Player.
Public methodStatic memberSetPlayerForNativePlayerIndex(GCControllerPlayerIndex, Int32)
Sets the native GCController player index associated with the Rewired Player.
Top
See Also