|
bool | _keysDown [kPegasusActionCount] |
|
InputBits | _lastRawBits |
|
bool | _AKeyWasDown |
|
|
static bool | hasInstance () |
|
static InputDeviceManager & | instance () |
|
static void | destroy () |
|
typedef InputDeviceManager | SingletonBaseType |
|
static InputDeviceManager * | _singleton |
|
◆ notifyEvent()
bool Pegasus::InputDeviceManager::notifyEvent |
( |
const Common::Event & |
event | ) |
|
|
overridevirtual |
Notify the observer of an incoming event.
An observer is supposed to 'eat' the event, with returning true, when it wants to prevent other observers from receiving the event. A usage example here is the keymapper: If it processes an Event, it should 'eat' it and create a new event, which the EventDispatcher will then catch.
- Parameters
-
event | The event that is incoming. |
- Return values
-
true | If the event should not be passed to other observers, false otherwise. |
Implements Common::EventObserver.
The documentation for this class was generated from the following file: