Represents the state of the keyboard, e.g. which keys are pressed.
Declaration Syntax
C# |
public struct KeyboardState
Members
All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
KeyboardState(array<Keys>[]()[][]) |
Create a new KeyboardState with the specified keys
pressed.
|
|
KeyboardState(UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32) |
Create a new KeyboardState with the specified key group masks.
|
|
Equality(KeyboardState, KeyboardState) |
Tests if two KeyboardStates are equal
|
|
Equals(Object) |
Tests if the current instance is equal to the specified object.
(Overrides ValueType.Equals(Object).) |
|
GetHashCode()()()() |
Get the hash code for the KeyboardState
(Overrides ValueType.GetHashCode()()()().) |
|
GetPressedKeys()()()() |
Get an array of pressed keys.
|
|
GetType()()()() |
Gets the Type of the current instance. (Inherited from Object.) |
|
Inequality(KeyboardState, KeyboardState) |
Tests if two KeyboardStates are not equal
|
|
IsKeyDown(Keys) |
Query if the specified key is down and thus
pressed.
|
|
IsKeyUp(Keys) |
Query if the specified key is up and thus
not pressed.
|
|
Item[([( Keys])]) |
Query the keystate for the specified key.
|
|
ToString()()()() |
Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)