QInputDevice Class

The QInputDevice class provides various information about one input device. More...

Header: #include <QInputDevice>

Public Types

Properties

Public Functions

QInputDevice(QObject *parent = Q_NULLPTR)
QVariantMap properties()
QInputDevice::InputTypeFlags types() const

Detailed Description

Property Documentation

properties : const QVariantMap

This property holds the properties of this input device.

This property contains a variant map of all properties known for this input device. Name and identifier properties are required.

Access functions:

QVariantMap properties()

See also name(), identifier(), buttons(), switches(), relativeAxes(), absoluteAxes(), and type().

Member Function Documentation

QInputDevice::QInputDevice(QObject *parent = Q_NULLPTR)

Constructs a QInputDevice object with the given parent.