Keystroke structure returned from Keyboard methods.
| C# |
public struct KeyPress
| All Members | Methods | Properties | |||
| Icon | Member | Description |
|---|---|---|
| Alt |
Modified by the press of either alt key.
| |
| Character |
The textual character of this keypress. Set iff
KeyCode == KeyCode.TCODK_CHAR, otherwise zero.
| |
| Control |
Modified by the press of either control key.
| |
| Equals(Object) | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
| Finalize()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode()()() | Returns the hash code for this instance. (Inherited from ValueType.) | |
| GetType()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| KeyCode |
Key code for the current button press.
| |
| LeftAlt |
Modified by the press of the left alt key.
| |
| LeftControl |
Modified by the press of the left control key.
| |
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Pressed |
Any key has been pressed.
| |
| RightAlt |
Modified by the press of the rightt alt key.
| |
| RightControl |
Modified by the press of the right control key.
| |
| Shift |
Modified by the press of either shift key.
| |
| ToString()()() | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |