| GameInput Methods |
The GameInput type exposes the following members.
| Name | Description | |
|---|---|---|
| AssignKeyboardKeyToGameKey |
Assign a keyboard key to a Game key.
| |
| AssignMouseButtonToGameKey |
Assign a mouse button to a Game key.
| |
| Draw |
Called every frame during the Draw() process.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| FixedUpdate |
Called every constant X seconds during the Update() phase.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetKeyboardInput |
Read keyboard input into a string. Get one character at a time.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Initialize |
Initialize game input.
| |
| IsKeyboardKeyDown |
Get if a key is currently down.
| |
| IsKeyboardKeyReleased |
Get if a key was released in this very frame.
| |
| IsKeyDown |
Get if a game key is currently down.
| |
| IsKeyPressed |
Get if a game key was pressed down in this very frame.
| |
| IsKeyReleased |
Get if a game key was released in this very frame.
| |
| IsMouseButtonDown |
Get if mouse button is currently down.
| |
| LoadKeysLayout |
Load current controls layout from config file.
| |
| MouseButtonReleased |
Get if mouse button is was released on this frame.
| |
| MousePressed |
Get if mouse button was pressed on this frame.
| |
| SaveKeysLayout |
Write current controls layout to a config file.
| |
| SetDefaultFirstPersonControls |
Set default keys for first-person controls.
| |
| SetDefaultIsometricControls |
Set default keys for side-scroller controls.
| |
| SetDefaultSideScrollerControls |
Set default keys for side-scroller controls.
| |
| SetDefaultTopDownControls |
Set default keys for side-scroller controls.
| |
| SetMousePosition |
Set mouse current position.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Update |
Update input.
|