42 #ifndef QINPUTDEVICEINFO_LINUX_P_H
43 #define QINPUTDEVICEINFO_LINUX_P_H
46 #include "qinputinfo.h"
49 class QInputDevicePrivate :
public QObject
53 explicit QInputDevicePrivate(QObject *parent = 0);
59 QList <int> relativeAxis;
60 QList <int> absoluteAxis;
61 QInputDeviceInfo::InputTypes types;
64 class QInputDeviceInfoPrivate :
public QObject
68 explicit QInputDeviceInfoPrivate(QObject *parent = 0);
69 QVector <QInputDevice *> deviceList;
70 QMap <QString, QInputDevice *> deviceMap;
73 void newDevice(
const QString &);
74 void deviceRemoved(
const QString &);
79 QInputDevice *addDevice(
const QString &path);
80 void removeDevice(
const QString &path);
81 QSocketNotifier *notifier;
83 struct udev_monitor *udevMonitor;
84 QInputDeviceInfo::InputTypes getInputTypes(
struct udev_device *);
91 #endif // QINPUTDEVICEINFO_LINUX_P_H