HGE::Input_GetEvent

Gets the next input event from the queue.

bool Input_GetEvent(
  hgeInputEvent *event
);

Parameters

event
Pointer to a hgeInputEvent structure to store the event to.

Return value

If an event was copied to the specified structure, returns true. If there are no more events in the queue, returns false.

Remarks

All not received events are cleared at the end of each frame.

Requirements

Header: hge.h
Import library: hge.lib

See also

Input Event structure