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+20d1932ee9c49d9b6496f76a0835fd9b82311ad2
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