Show / Hide Table of Contents

Class Keyboard

Provides access to keyboard devices. Note: this API is not implemented yet.

Inheritance
System.Object
Keyboard
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 static class Keyboard

Methods

GetState()

Retrieves the combined KeyboardState for all keyboard devices.

Declaration
public static KeyboardState GetState()
Returns
Type Description
KeyboardState

An KeyboardState structure containing the combined state for all keyboard devices.

GetState(Int32)

Retrieves the KeyboardState for the specified keyboard device.

Declaration
public static KeyboardState GetState(int index)
Parameters
Type Name Description
System.Int32 index

The index of the keyboard device.

Returns
Type Description
KeyboardState

An KeyboardState structure containing the state of the keyboard device.

Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX