interface
|
IInputState
|
base of
|
IApplication
|
||
IApplicationWindow
|
|||||
InputEvent
|
Is the given keyboard key pressed down?
[Pure]
|
||||
method
|
IsDown
(KeyboardKey key)
|
|||
type
|
bool
|
|||
params
|
key
|
The keyboard key. | ||
returns
|
true
if
the
key
is
pressed
down,
false
if
not. |
Is the given mouse button pressed down?
[Pure]
|
||||
method
|
IsDown
(MouseButton button)
|
|||
type
|
bool
|
|||
params
|
button
|
The mouse button. | ||
returns
|
true
if
the
button
is
pressed
down,
false
if
not. |
Returns the input modifiers.
[Pure]
|
||||
method
|
GetModifiers
()
|
|||
type
|
InputModifiers
|
|||
returns
|
The input modifier flags. |
Checks if the given keyboard modifier is present.
method
|
HasModifier
(InputModifiers modifiers)
|
||
type
|
bool
|
||
params
|
modifiers
|
The keyboard modifier. | |
returns
|
true
if
the
modifier
is
present,
false
if
not. |