Diol can save your theme preference in this browser using local storage.
size_t EsGameControllerStatePoll(EsGameControllerState *buffer);
Returns number of connected controllers. Buffer must have space for ES_GAME_CONTROLLER_MAX_COUNT.
uint8_t EsKeyboardGetModifiers();
Synchronous with respect to message processing.
EsPoint EsMouseGetPosition(EsElement *relativeElement = ES_NULL);
Returns the mouse position. If relativeElement is set, the position is relative to that element.
EsError EsMouseSetPosition(EsWindow *relativeWindow, int x, int y);
The request will be rejected if the user is not clicking on your window.
bool EsMouseIsLeftHeld();
Returns true if the left mouse button is held.
bool EsMouseIsRightHeld();
Returns true if the right mouse button is held.
bool EsMouseIsMiddleHeld();
Returns true if the middle mouse button is held.