Class OpenTKKeyboardState
- Namespace
- ReFuel.Input
- Assembly
- ReFuel.dll
public class OpenTKKeyboardState : IKeyboardState
- Inheritance
-
OpenTKKeyboardState
- Implements
-
- Inherited Members
-
Constructors
public OpenTKKeyboardState(KeyboardState state)
Parameters
state
KeyboardState
Methods
public static KeyboardButton GetButton(Keys key)
Parameters
key
Keys
Returns
- KeyboardButton
public static Keys GetOpenTKKey(KeyboardButton key)
Parameters
key
KeyboardButton
Returns
- Keys
public bool IsDown(KeyboardButton key)
Parameters
key
KeyboardButton
Returns
- bool
public bool IsFalling(KeyboardButton key)
Parameters
key
KeyboardButton
Returns
- bool
public bool IsRising(KeyboardButton key)
Parameters
key
KeyboardButton
Returns
- bool
public bool IsUp(KeyboardButton key)
Parameters
key
KeyboardButton
Returns
- bool