struct IInputEventListener { };
IInput.h
Input event listeners registered to input system and receive input events when they are generated.
virtual ~IInputEventListener();
Used to sort the listeners based on priority
virtual int GetPriority() const;
It returns priority associated with the listener (Higher the priority, the earlier it will be processed relative to other listeners, default = 0)
Called every time input event is generated.
virtual bool OnInputEvent(const SInputEvent & event) = 0;
If it returns True then the broadcasting of this event should be aborted and the rest of input listeners should not receive this event.
virtual bool OnInputEventUI(const SInputEvent & event);