carb::input::filterBufferedEvents

Defined in carb/input/InputUtils.h

template<typename Callable>
inline void carb::input::filterBufferedEvents(IInput *input, Callable &&callable)

Filter and modify input events in the event buffer.

Parameters
  • input – The IInput interface.

  • callable – An invocable object to be called on each event. Prototype is void(InputEvent&).