namespace UnityEngine.InputSystem.LowLevel
{
///
/// Gives an opportunity for device to modify event data in-place before it gets propagated to the rest of the system.
///
///
/// If device also implements it will run first, because we don't process events ahead-of-time.
///
internal interface IEventPreProcessor
{
///
/// Preprocess the event. !!! Beware !!! currently events can only shrink or stay the same size.
///
/// The event to preprocess.
/// True if event should be processed further, false if event should be skipped and ignored.
bool PreProcessEvent(InputEventPtr currentEventPtr);
}
}