Click or drag to resize
GameFormGetControllerName Method
Return the name of a specific game controller as displayed in the options window.

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public string GetControllerName(
	int deviceNumber
)

Parameters

deviceNumber
Type: SystemInt32
Zero-based index of the game controller

Return Value

Type: String
String containing the display name for the device
See Also