GameFormGetControllerState Method |
Reads the current state of a game controller
Namespace: (Default Namespace)Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax public Joystick GetControllerState(
int deviceNumber
)
Parameters
- deviceNumber
- Type: SystemInt32
Zero-based index of the game controller
Return Value
Type:
JoystickSee Also