Click or drag to resize

ReInputMappingHelperGetFirstJoystickTemplateElementIdentifier Method

This method has been deprecated. Use the Controller Template system instead.

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  Joystick
The joystick
joystickElementIdentifierId  Int32
The joystick element identifier id.

Return Value

ControllerElementIdentifier
ControllerElementIdentifier
See Also