[This is preliminary documentation and is subject to change.]
The InputService KeyboardHandler type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| InputService KeyboardHandler | Initializes a new instance of the InputService KeyboardHandler class |
Methods
| Name | Description | |
|---|---|---|
| AddKey |
Add a key to the list of keys you want the pressed length of time for
| |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| HeldFor |
Checks how long a key was pressed for so far in millisecond
| |
| KeyHeld |
Check if a key is currently being held down, this wont trigger at initial press
| |
| KeyLeft |
Check if a key was released
| |
| KeyPress |
Check if a key was pressed, this will trigger exclusively over KeyHeld
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ReleasedTime |
Check for how long a key was pressed for after release
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Update |
See Also