#include <InputDeviceNotificationBus.h>
Inherits AZ::EBusTraits.
Public Member Functions | |
virtual | ~InputDeviceNotifications ()=default |
Default destructor. | |
virtual void | OnInputDeviceConnectedEvent (const InputDevice &) |
virtual void | OnInputDeviceDisconnectedEvent (const InputDevice &) |
virtual AZ::s32 | GetPriority () const |
bool | Compare (const InputDeviceNotifications *other) const |
EBus interface used to listen for input events as they're broadcast from input devices when they connect or disconnect from the system. Some common input devices are assumed to always be connected, and will never generate these notifications. This interface could be extended to include notifications for other events related to input devices, for example low battery.
|
inline |
Compare function required by BusHandlerOrderCompare = BusHandlerCompareDefault
[in] | other | Another instance of the class to compare |
|
inlinevirtual |
Access to the priority of the input notification handler (sorted from highest to lowest)
|
inlinevirtual |
Override to be notified when input devices connect to the system
[in] | inputChannel | The input device that connected |
|
inlinevirtual |
Override to be notified when input devices disconnect from the system
[in] | inputChannel | The input device that disconnected |