Click or drag to resize

ReInputMappingHelperGetFirstJoystickTemplateElementIdentifier Method

Note: This API is now obsolete.

Gets the first template Element Identifier on the first joystick template found that maps to the joystick's Element Identifier. NOTE: This method was added as a short-term solution to the problem of trying to identify controller elements as generic Gamepad elements for use in displaying visual help to users. Use the runtime Controller Template system instead.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
[ObsoleteAttribute("This method has been deprecated. Use the Controller Template system instead.", 
	false)]
public ControllerElementIdentifier GetFirstJoystickTemplateElementIdentifier(
	Joystick joystick,
	int joystickElementIdentifierId
)

Parameters

joystick
Type: RewiredJoystick
The joystick
joystickElementIdentifierId
Type: SystemInt32
The joystick element identifier id.

Return Value

Type: ControllerElementIdentifier
ControllerElementIdentifier
See Also