summaryrefslogtreecommitdiffstats
path: root/src/platformsupport/udev/qudevicehelper_p.h
diff options
context:
space:
mode:
authorHannu Lyytinen <hannu.lyytinen@nomovok.com>2012-04-19 00:28:15 +0300
committerQt by Nokia <qt-info@nokia.com>2012-04-19 08:48:18 +0200
commit1267bd82a47af685b9586eaf691a6d09a327bd05 (patch)
tree5961480e82607cdd2cdcbbb76a7ae8e0e2ee12f7 /src/platformsupport/udev/qudevicehelper_p.h
parent02242a8b0129a2c109038d8752e5010104e78f95 (diff)
Extend QUDeviceHelper to detect DRM graphics devices.
KMS QPA plugin duplicates udev code needlessly; merging the functionality here. Change-Id: I69be8549f1feee298fe28215d491c8ce5de96b18 Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
Diffstat (limited to 'src/platformsupport/udev/qudevicehelper_p.h')
-rw-r--r--src/platformsupport/udev/qudevicehelper_p.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/platformsupport/udev/qudevicehelper_p.h b/src/platformsupport/udev/qudevicehelper_p.h
index b7544fa6c2..15dbe2926c 100644
--- a/src/platformsupport/udev/qudevicehelper_p.h
+++ b/src/platformsupport/udev/qudevicehelper_p.h
@@ -60,7 +60,10 @@ public:
UDev_Mouse = 0x01,
UDev_Touchpad = 0x02,
UDev_Touchscreen = 0x04,
- UDev_Keyboard = 0x08
+ UDev_Keyboard = 0x08,
+ UDev_DRM = 0x10,
+ UDev_InputMask = UDev_Mouse | UDev_Touchpad | UDev_Touchscreen | UDev_Keyboard,
+ UDev_VideoMask = UDev_DRM
};
Q_DECLARE_FLAGS(QUDeviceTypes, QUDeviceType)