IInputEventListener

C++
struct IInputEventListener {
};
File

IInput.h

Description

Input event listeners registered to input system and receive input events when they are generated.

IInputEventListener::~IInputEventListener Destructor
C++
IInputEventListener::GetPriority Method

Used to sort the listeners based on priority

C++
virtual int GetPriority() const;
Returns

It returns priority associated with the listener (Higher the priority, the earlier it will be processed relative to other listeners, default = 0)

IInputEventListener::OnInputEvent Method

Called every time input event is generated.

C++
virtual bool OnInputEvent(const SInputEvent & event) = 0;
Returns

If it returns True then the broadcasting of this event should be aborted and the rest of input listeners should not receive this event.

IInputEventListener::OnInputEventUI Method
C++
virtual bool OnInputEventUI(const SInputEvent & event);