#include <RawInputNotificationBus_Barrier.h>
Inherits AZ::EBusTraits.
Public Member Functions | |
virtual | ~RawInputNotificationsBarrier ()=default |
Default destructor. | |
virtual void | OnRawMouseButtonDownEvent (uint32_t buttonIndex) |
virtual void | OnRawMouseButtonUpEvent (uint32_t buttonIndex) |
virtual void | OnRawMouseMovementEvent (float movementX, float movementY) |
virtual void | OnRawMousePositionEvent (float positionX, float positionY) |
virtual void | OnRawKeyboardKeyDownEvent (uint32_t scanCode, ModifierMask activeModifiers) |
virtual void | OnRawKeyboardKeyUpEvent (uint32_t scanCode, ModifierMask activeModifiers) |
virtual void | OnRawKeyboardKeyRepeatEvent (uint32_t scanCode, ModifierMask activeModifiers) |
virtual void | OnRawClipboardEvent (const char *clipboardContents) |
EBus interface used to listen for raw Barrier input as broadcast by the BarrierClient.
It's possible to receive multiple events per button/key per frame, and it's very likely that Barrier input events will not be dispatched from the main thread, so care should be taken to ensure thread safety when implementing event handlers that connect to this Barrier event bus.
This EBus is intended primarily for the BarrierClient to send raw input to Barrier devices. Most systems that need to process input should use the generic AzFramework input interfaces, but if necessary it is perfectly valid to connect directly to this EBus for Barrier events.
|
inlinevirtual |
Process raw clipboard events (assumed to be dispatched from any thread)
[in] | clipboardContents | The contents of the clipboard |
|
inlinevirtual |
Process raw keyboard key down events (assumed to be dispatched from any thread)
[in] | scanCode | The scan code of the key that was pressed down |
[in] | activeModifiers | The bit mask of currently active modifier keys |
|
inlinevirtual |
Process raw keyboard key repeat events (assumed to be dispatched from any thread)
[in] | scanCode | The scan code of the key that was repeatedly held down |
[in] | activeModifiers | The bit mask of currently active modifier keys |
|
inlinevirtual |
Process raw keyboard key up events (assumed to be dispatched from any thread)
[in] | scanCode | The scan code of the key that was released up |
[in] | activeModifiers | The bit mask of currently active modifier keys |
|
inlinevirtual |
Process raw mouse button down events (assumed to be dispatched from any thread)
[in] | buttonIndex | The index of the button that was pressed down |
|
inlinevirtual |
Process raw mouse button up events (assumed to be dispatched from any thread)
[in] | buttonIndex | The index of the button that was released up |
|
inlinevirtual |
Process raw mouse movement events (assumed to be dispatched from any thread)
[in] | movementX | The x movement of the mouse |
[in] | movementY | The y movement of the mouse |
|
inlinevirtual |
Process raw mouse position events (assumed to be dispatched from any thread)
[in] | positionX | The x position of the mouse |
[in] | positionY | The y position of the mouse |