Tesla Graphics Engine Documentation (January 2012)
IsKeyDown Method (key)
Tesla
►
Tesla.Input
►
KeyboardState
►
IsKeyDown(Keys)
C#
Query if the specified key is down and thus pressed.
Declaration Syntax
C#
public
bool
IsKeyDown
(
Keys
key
)
Parameters
key
(
Keys
)
Key to query
Return Value
If the key is pressed
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)