Obsolete Members for Qt3DInput | Qt 3D | Qt 6.12.0
Description: Contains classes that enable user input.
Keywords: auto-generated

- Qt 6.12
- Qt 3D
- Obsolete Members for Qt3DInput
- Qt 6.12.0 Reference Documentation

# Obsolete Members for Qt3DInput

The following members of class Qt3DInput are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.

## Classes

`(deprecated)` class | QAbstractActionInput
`(deprecated)` class | QAbstractAxisInput
`(deprecated)` class | QAbstractPhysicalDevice
`(deprecated)` class | QAction
`(deprecated)` class | QActionInput
`(deprecated)` class | QAnalogAxisInput
`(deprecated)` class | QAxis
`(deprecated)` class | QAxisAccumulator
`(deprecated)` class | QAxisSetting
`(deprecated)` class | QButtonAxisInput
`(deprecated)` class | QInputAspect
`(deprecated)` class | QInputChord
`(deprecated)` class | QInputSequence
`(deprecated)` class | QInputSettings
`(deprecated)` class | QKeyEvent
`(deprecated)` class | QKeyboardDevice
`(deprecated)` class | QKeyboardHandler
`(deprecated)` class | QLogicalDevice
`(deprecated)` class | QMouseDevice
`(deprecated)` class | QMouseEvent
`(deprecated)` class | QMouseHandler
`(deprecated)` class | QWheelEvent

## Classes

### `[deprecated]` class Qt3DInput::QAbstractActionInput

This class is deprecated. We strongly advise against using it in new code.

### `[deprecated]` class Qt3DInput::QAbstractAxisInput

This class is deprecated. We strongly advise against using it in new code.

### `[deprecated]` class Qt3DInput::QAbstractPhysicalDevice

This class is deprecated. We strongly advise against using it in new code.

### `[deprecated]` class Qt3DInput::QAction

This class is deprecated. We strongly advise against using it in new code.

### `[deprecated]` class Qt3DInput::QActionInput

This class is deprecated. We strongly advise against using it in new code.

### `[deprecated]` class Qt3DInput::QAnalogAxisInput

This class is deprecated. We strongly advise against using it in new code.

### `[deprecated]` class Qt3DInput::QAxis

This class is deprecated. We strongly advise against using it in new code.

Constructs a new QAxis instance with parent.

### `[deprecated]` class Qt3DInput::QAxisAccumulator

This class is deprecated. We strongly advise against using it in new code.

Constructs a new QAxisAccumulator instance with parent.

A Qt3DInput::QAxis reports the current position of an axis on an input device. When the axis is returned to its neutral position the value of that axis returns to 0. Often, it is required to have the input from an axis control a variable in other ways, for example treating the value from the Qt3DInput::QAxis as a velocity (first derivative with respect to time) or as an acceleration (second derivative with respect to time). This can be done with user code or with a Qt3DLogic::QFrameAction but those approached are not ideal as they add more work to the main thread and are inherently imperative. The Qt3DInput::QAxisAccumulator class allows for this common task to be performed on the Qt 3D backend and be specified in a declarative manner.

### `[deprecated]` class Qt3DInput::QAxisSetting

This class is deprecated. We strongly advise against using it in new code.

Stores the dead zone associated with this axis and defines if smoothing is enabled

### `[deprecated]` class Qt3DInput::QButtonAxisInput

This class is deprecated. We strongly advise against using it in new code.

### `[deprecated]` class Qt3DInput::QInputAspect

This class is deprecated. We strongly advise against using it in new code.

QInputAspect is responsible for creating physical devices. It is also the object responsible establishing the jobs to run at a particular time from the current input setup.

### `[deprecated]` class Qt3DInput::QInputChord

This class is deprecated. We strongly advise against using it in new code.

### `[deprecated]` class Qt3DInput::QInputSequence

This class is deprecated. We strongly advise against using it in new code.

### `[deprecated]` class Qt3DInput::QInputSettings

This class is deprecated. We strongly advise against using it in new code.

The QInputSettings component must be set as a component of the scene root entity. It stores a pointer to the object that acts as the source of input events to be handled by various input classes. For example, a QWindow instance can be an event source.

See also QMouseDevice and QKeyboardDevice.

### `[deprecated]` class Qt3DInput::QKeyEvent

This class is deprecated. We strongly advise against using it in new code.

### `[deprecated]` class Qt3DInput::QKeyboardDevice

This class is deprecated. We strongly advise against using it in new code.

### `[deprecated]` class Qt3DInput::QKeyboardHandler

This class is deprecated. We strongly advise against using it in new code.

### `[deprecated]` class Qt3DInput::QLogicalDevice

This class is deprecated. We strongly advise against using it in new code.

### `[deprecated]` class Qt3DInput::QMouseDevice

This class is deprecated. We strongly advise against using it in new code.

A QMouseDevice delegates mouse events from physical mouse device to QMouseHandler objects. The sensitivity of the mouse can be controlled with the QMouseDevice::sensitivity property, which specifies the rate in which the logical mouse coordinates change in response to physical movement of the mouse.

See also QMouseHandler.

### `[deprecated]` class Qt3DInput::QMouseEvent

This class is deprecated. We strongly advise against using it in new code.

Mouse events occur when a mouse button is pressed and the ray traversing the view, originating from the mouse position intersects with one or more elements of the scene.

See also QKeyEvent, QWheelEvent, and QMouseHandler.

### `[deprecated]` class Qt3DInput::QMouseHandler

This class is deprecated. We strongly advise against using it in new code.

Note: QMouseHandler components shouldn't be shared, not respecting that condition will most likely result in undefined behaviors.

See also QMouseDevice and QMouseEvent.

### `[deprecated]` class Qt3DInput::QWheelEvent

This class is deprecated. We strongly advise against using it in new code.

Mouse wheel events occur when the mouse is rotated.

See also QKeyEvent, QMouseEvent, and QMouseHandler.