carb::input::InputEventFilterFn

Defined in carb/input/InputTypes.h

typedef FilterResult (*carb::input::InputEventFilterFn)(InputEvent &evt, void *userData)

Callback function type for filtering events.

See also

IInput::filterBufferedEvents() for more information.

Param evt

A reference to the unified event description. The event may be modified.

Param userData

A pointer to the user data passed to IInput::filterBufferedEvents().

Return

The FilterResult indicating what should happen with the event.