![]() |
Murl Engine API
Version 2018.3
|
The IKeyboardDevice interface. More...
#include <murl_input_i_keyboard_device.h>
The IKeyboardDevice interface.
Public Member Functions | |
virtual UInt32 | GetNumberOfKeys () const =0 |
Get the number of keys pressed in the most recent tick. More... | |
virtual const String & | GetKey (UInt32 index) const =0 |
Get a key pressed in the most recent tick. More... | |
virtual const StringArray & | GetKeys () const =0 |
Get all keys pressed in the most recent tick. More... | |
![]() | |
virtual const String & | GetName () const =0 |
Get the device name. More... | |
virtual UInt32 | GetId () const =0 |
Get the unique device identifier. More... | |
virtual Bool | HasUpdate () const =0 |
Check if the device has received new data since the last Update(). More... | |
virtual void | LogicUpdate ()=0 |
Is executed in the logic thread context each logic tick. | |
virtual void | ConfigChanged (const IAppConfiguration *appConfig)=0 |
Notification of changed configuration. More... | |
|
pure virtual |
Get the number of keys pressed in the most recent tick.
Get a key pressed in the most recent tick.
A valid key buffer index is [0 .. GetNumberOfKeys() - 1].
index | The zero-based index of the key buffer. |
|
pure virtual |
Get all keys pressed in the most recent tick.
To concat all keys to a string use String::Cat(const StringArray& stringArray).