Show / Hide Table of Contents

Class JoystickButtonCollection

Defines a collection of JoystickButtons.

Inheritance
Object
JoystickButtonCollection
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: OpenTK.Input
Assembly: OpenTK.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
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
Int32 index

The index of the JoystickButton to check.

Property Value
Type Description
Boolean

True if the JoystickButton is pressed; false otherwise.

In This Article
Back to top Generated by DocFX