![]() |
Public API Reference |
Helper class to conveniently pull generic data out of input events. More...
#include <csutil/event.h>
Static Public Member Functions | |
| static uint | GetButton (iEventNameRegistry *, const iEvent *event) |
| Retrieve button number (0 on error or if keyboard event) | |
| static bool | GetButtonState (iEventNameRegistry *, const iEvent *event) |
| Retrieve button/key state (true = press, false = release) | |
Helper class to conveniently pull generic data out of input events.
| static uint csInputEventHelper::GetButton | ( | iEventNameRegistry * | , |
| const iEvent * | event | ||
| ) | [static] |
Retrieve button number (0 on error or if keyboard event)
| static bool csInputEventHelper::GetButtonState | ( | iEventNameRegistry * | , |
| const iEvent * | event | ||
| ) | [static] |
Retrieve button/key state (true = press, false = release)