Inherits AzFramework::InputDeviceKeyboard::Implementation, and XcbEventHandlerBus::Handler.
Public Member Functions | |
| AZ_CLASS_ALLOCATOR (XcbInputDeviceKeyboard, AZ::SystemAllocator) | |
| XcbInputDeviceKeyboard (InputDeviceKeyboard &inputDevice) | |
| bool | IsConnected () const override |
| bool | HasTextEntryStarted () const override |
| void | TextEntryStart (const InputDeviceKeyboard::VirtualKeyboardOptions &options) override |
| void | TextEntryStop () override |
| Inform input device that text input is expected to stop (pair with StartTextInput) | |
| void | TickInputDevice () override |
| Tick/update the input device to broadcast all input events since the last frame. | |
| void | HandleXcbEvent (xcb_generic_event_t *event) override |
| void | ResetStoredInputStates () override |
Public Member Functions inherited from AzFramework::InputDeviceKeyboard::Implementation | |
| AZ_CLASS_ALLOCATOR (Implementation, AZ::SystemAllocator) | |
| Implementation (InputDeviceKeyboard &inputDevice) | |
| AZ_DISABLE_COPY_MOVE (Implementation) | |
| virtual | ~Implementation () |
| Destructor. | |
| virtual LocalUserId | GetAssignedLocalUserId () const |
| virtual void | TextEntryStart (const VirtualKeyboardOptions &options)=0 |
| virtual void | GetPhysicalKeyOrButtonText (const InputChannelId &, AZStd::string &) const |
Additional Inherited Members | |
Static Public Member Functions inherited from AzFramework::InputDeviceKeyboard::Implementation | |
| static Implementation * | Create (InputDeviceKeyboard &inputDevice) |
Protected Types inherited from AzFramework::InputDeviceKeyboard::Implementation | |
| using | RawKeyEventQueueByIdMap = AZStd::unordered_map< InputChannelId, AZStd::vector< bool > > |
| Alias for verbose container class. | |
Protected Member Functions inherited from AzFramework::InputDeviceKeyboard::Implementation | |
| void | QueueRawKeyEvent (const InputChannelId &inputChannelId, bool rawKeyState) |
| void | QueueRawTextEvent (const AZStd::string &textUTF8) |
| void | ProcessRawEventQueues () |
| void | ResetInputChannelStates () |
| Reset the state of all this input device's associated input channels. | |
Protected Attributes inherited from AzFramework::InputDeviceKeyboard::Implementation | |
| InputDeviceKeyboard & | m_inputDevice |
| Reference to the input device. | |
| RawKeyEventQueueByIdMap | m_rawKeyEventQueuesById |
| Raw key event queues by id. | |
| AZStd::vector< AZStd::string > | m_rawTextEventQueue |
| Raw text event queue. | |
|
overridevirtual |
Query whether text entry has already been started
Implements AzFramework::InputDeviceKeyboard::Implementation.
|
overridevirtual |
Query the connected state of the input device
Implements AzFramework::InputDeviceKeyboard::Implementation.
|
overridevirtual |
Inform input device that text input is expected to stop (pair with StartTextInput)
Implements AzFramework::InputDeviceKeyboard::Implementation.
|
overridevirtual |
Tick/update the input device to broadcast all input events since the last frame.
Implements AzFramework::InputDeviceKeyboard::Implementation.