Table of Contents

Class OpenTKKeyboardState

Namespace
ReFuel.Input
Assembly
ReFuel.dll
public class OpenTKKeyboardState : IKeyboardState
Inheritance
OpenTKKeyboardState
Implements
Inherited Members

Constructors

OpenTKKeyboardState(KeyboardState)

public OpenTKKeyboardState(KeyboardState state)

Parameters

state KeyboardState

Methods

GetButton(Keys)

public static KeyboardButton GetButton(Keys key)

Parameters

key Keys

Returns

KeyboardButton

GetOpenTKKey(KeyboardButton)

public static Keys GetOpenTKKey(KeyboardButton key)

Parameters

key KeyboardButton

Returns

Keys

IsDown(KeyboardButton)

public bool IsDown(KeyboardButton key)

Parameters

key KeyboardButton

Returns

bool

IsFalling(KeyboardButton)

public bool IsFalling(KeyboardButton key)

Parameters

key KeyboardButton

Returns

bool

IsRising(KeyboardButton)

public bool IsRising(KeyboardButton key)

Parameters

key KeyboardButton

Returns

bool

IsUp(KeyboardButton)

public bool IsUp(KeyboardButton key)

Parameters

key KeyboardButton

Returns

bool