Property | Type | Description | |
---|---|---|---|
isVisible | bool | ||
mouseButtons | MouseButtons | ||
mouseX | int | ||
oldX | int | ||
relMouseX | int |
Method | Description | |
---|---|---|
Capture ( ) : void |
Capture the current state of input.
|
|
Dispose ( ) : void | ||
Initialize ( Axiom parent, bool useKeyboard, bool useMouse, bool useGamepad, bool ownMouse ) : void |
|
|
IsKeyPressed ( KeyCodes key ) : bool |
Checks the current keyboard state to see if the specified key is pressed.
|
|
IsMousePressed ( MouseButtons button ) : bool | ||
OpenTKInputReader ( ) : System.Threading |
Constructor.
|
Method | Description | |
---|---|---|
ConvertKeyEnum ( KeyCodes key ) : Key |
Used to convert an Axiom.Input.KeyCodes enum val to a OpenTK enum val.
|
public Initialize ( Axiom parent, bool useKeyboard, bool useMouse, bool useGamepad, bool ownMouse ) : void | ||
parent | Axiom | |
useKeyboard | bool | |
useMouse | bool | |
useGamepad | bool | |
ownMouse | bool | |
return | void |
public IsKeyPressed ( KeyCodes key ) : bool | ||
key | KeyCodes | KeyCode to check. |
return | bool |
public IsMousePressed ( MouseButtons button ) : bool | ||
button | MouseButtons | |
return | bool |
public OpenTKInputReader ( ) : System.Threading | ||
return | System.Threading |