Class ClientInput
Handles keyboard input. Requires things to be set up with Ncurses and Termios.
Public Functions
Type | Name |
---|---|
bool | GetKey (const int p_Key) Get the key's current state. Note that unlike IsPressed() , this also stores the result for use in the next key state check. |
bool | GetKeyDown (const int p_Key) Was this key pressed since the last check? Note that unlike WasJustPressed() , this checks if the key was pressed since the last time a GetKey* function was called. |
bool | GetKeyUp (const int p_Key) Was this key released since the last check? Note that unlike WasJustReleased() , this checks if the key was released since the last time a GetKey* function was called. |
void | Update (void) Update the state of the keyboard. |
Public Functions Documentation
function GetKey
function GetKeyDown
function GetKeyUp
function Update
The documentation for this class was generated from the following file api/cppSDK/SDKClient/PlatformSpecific/Linux/ClientPlatformSpecific.cpp