Method | Description | |
---|---|---|
Bind ( Keys key, string keyDownCommand, string keyUpCommand ) : void |
Binds command to key.
|
|
GetConfiguration ( ) : IEnumerable |
Gets keyboard configuration.
|
|
Initialize ( ) : void |
|
|
IsBound ( Keys key ) : bool |
Indicates that given key is already bound.
|
|
IsKeyDown ( Keys key ) : bool |
Returns whether a specified key is currently being pressed.
|
|
IsKeyUp ( Keys key ) : bool |
Returns whether a specified key is currently not pressed.
|
|
SetConfiguration ( IEnumerable |
|
|
Unbind ( Keys key ) : void |
Unbind commands from key.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
|
Method | Description | |
---|---|---|
Keyboard ( Game Game ) : System |
ctor
|
|
device_FormKeyDown ( object sender, |
||
device_FormKeyPress ( object sender, |
||
device_FormKeyUp ( object sender, |
||
device_KeyDown ( object sender, |
||
device_KeyUp ( object sender, |
public Bind ( Keys key, string keyDownCommand, string keyUpCommand ) : void | ||
key | Keys | |
keyDownCommand | string | |
keyUpCommand | string | |
return | void |
public SetConfiguration ( IEnumerable |
||
configuration | IEnumerable |
|
return | void |