Class JoystickButtonCollection
Defines a collection of JoystickButtons.
Inheritance
System.Object
JoystickButtonCollection
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: OpenTK.Input
Assembly: cs.temp.dll.dll
Syntax
public sealed class JoystickButtonCollection
Properties
Count
Gets a System.Int32 indicating the available amount of JoystickButtons.
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Item[Int32]
Gets a System.Boolean indicating whether the JoystickButton with the specified index is pressed.
Declaration
public bool this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index of the JoystickButton to check. |
Property Value
Type | Description |
---|---|
System.Boolean | True if the JoystickButton is pressed; false otherwise. |