PySide6.Qt3DInput.Qt3DInput.QActionInput¶
- class QActionInput¶
- QActionInputstores Device and Buttons used to trigger an input event. More…- Synopsis¶- Properties¶- Methods¶- def - __init__()
- def - buttons()
- def - sourceDevice()
 - Slots¶- def - setButtons()
 - Signals¶- Note - This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE - Detailed Description¶- Note - Properties can be used directly when - from __feature__ import true_propertyis used or via accessor functions otherwise.- property buttonsᅟ: list of int¶
 - Holds the buttons that can trigger this Action. - Access functions:
 - property sourceDeviceᅟ: QAbstractPhysicalDevice¶
 - The current source device of the - QActionInput.- Access functions:
 - __init__([parent=None])¶
- Parameters:
- parent – - QNode
 
 - Constructs a new - QActionInputinstance with- parent.- buttons()¶
- Return type:
- .list of int 
 - See also - setButtons()
 - Getter of property - buttonsᅟ.- buttonsChanged(buttons)¶
- Parameters:
- buttons – .list of int 
 
 - This signal is emitted when the buttons associated with the action input is changed. The buttons changed are - buttons- Notification signal of property - buttonsᅟ.- setButtons(buttons)¶
- Parameters:
- buttons – .list of int 
 
 - Set the buttons to trigger the - QActionInputinstance to- buttons.- See also - buttons()- Setter of property - buttonsᅟ.- setSourceDevice(sourceDevice)¶
- Parameters:
- sourceDevice – - QAbstractPhysicalDevice
 - See also - sourceDevice()
 - Setter of property - sourceDeviceᅟ.- sourceDevice()¶
- Return type:
- QAbstractPhysicalDevice
 - See also - setSourceDevice()
 - Getter of property - sourceDeviceᅟ.- sourceDeviceChanged(sourceDevice)¶
- Parameters:
- sourceDevice – - QAbstractPhysicalDevice
 
 - This signal is emitted when the source device associated with the action input is changed to - sourceDevice.- Notification signal of property - sourceDeviceᅟ.