QML frontend for the Qt3DInput::QActionInput C++ class. More...
Import Statement: | import Qt3D.Input |
Since: | Qt 5.7 |
Instantiates: | QActionInput |
Links a physical device and selected buttons on it which can trigger this action.
Each Action input can be triggered by one or many buttons on a source device
ActionInput { sourceDevice: keyboardSourceDevice buttons: [Qt.Key_A] }
ActionInput { sourceDevice: keyboardSourceDevice buttons: [Qt.Key_A,Qt.Key_B] }
The Buttons that can trigger this Action.
sourceDevice : AbstractPhysicalDevice
The current source device of the ActionInput
buttonsChanged(const QList<int> &buttons)
This signal is emitted when the buttons associated with the action input is changed.
The corresponding handler is onbuttonsChanged
Note: The corresponding handler is onButtonsChanged
.
sourceDeviceChanged()
This signal is emitted when the source device associated with the action input is changed.
The corresponding handler is onSourceDeviceChanged
Note: The corresponding handler is onSourceDeviceChanged
.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qml-qt3d-input-actioninput.html