Click or drag to resize
JoystickRead Method
Read all data from the device associated with this Joystick into the Position, POVAngle and Button properties.

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public void Read()
Remarks
Buttons are retrieved by accessing the Joystick's indexer property
Examples
if (myJoy[0]) { // button 0 is pressed }
See Also