Click or drag to resize
GameFormGetControllerState Method
Reads the current state of a game controller

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

Parameters

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

Return Value

Type: Joystick
See Also