Joystick Class |
Namespace: (Default Namespace)
public class Joystick
The Joystick type exposes the following members.
Name | Description | |
---|---|---|
Joystick |
Create an object which can be used to acces information about the specified
joystick number.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetDeviceCount |
Returns the number of joysticks available on the system.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Read |
Read all data from the device associated with this Joystick into the
Position, POVAngle and Button properties.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
Item |
Determines which buttons were pressed during the last call to Read.
| |
MaximumR |
Returns the maximum value of RPosition.
| |
MaximumU |
Returns the maximum value of UPosition.
| |
MaximumV |
Returns the maximum value of VPosition.
| |
MaximumX |
Returns the maximum value of XPosition.
| |
MaximumY |
Returns the maximum value of YPosition.
| |
MaximumZ |
Returns the maximum value of ZPosition.
| |
MinimumR |
Returns the minimum value of RPosition.
| |
MinimumU |
Returns the minimum value of UPosition.
| |
MinimumV |
Returns the minimum value of VPosition.
| |
MinimumX |
Returns the minimum value of XPosition.
| |
MinimumY |
Returns the minimum value of YPosition.
| |
MinimumZ |
Returns the minimum value of ZPosition.
| |
Name |
Returns a string identifying the joystick in plain text
| |
POVAngle |
The position of the joystick's POV control during the last call to Read,
represented as a number between 0 and 35900 in hundredths of degrees
| |
RPosition |
The position of the joystick's rudder input during the last call to Read.
| |
UPosition |
The position of the joystick's u-axis input during the last call to Read.
| |
VPosition |
The position of the joystick's v-axis input during the last call to Read.
| |
XPosition |
The position of the joystick's x-axis input during the last call to Read.
| |
YPosition |
The position of the joystick's y-axis input during the last call to Read.
| |
ZPosition |
The position of the joystick's z-axis input during the last call to Read.
|