aboutsummaryrefslogtreecommitdiff
path: root/xwayland
diff options
context:
space:
mode:
authorsghctoma <sghctoma@gmail.com>2018-09-07 16:37:25 +0200
committersghctoma <sghctoma@gmail.com>2018-09-07 16:37:25 +0200
commit7a5d3c4d3bf8c2f21fcec65182f1563f4c857408 (patch)
tree4fd3777452ffeb1e31c9c372725dff059d7bfa94 /xwayland
parentbbeed1bd3179a082b5bfb04010e6c476e75e4320 (diff)
Implement device type discovery using ioctl calls
This commit implements device type discovery by calling two ioctls (DRM_IOCTL_VERSION and EVIOCGVERSION) on the device. These iocts are specific to drm and input devices respectively, therefore we can determine the device type based on which one returns an error.
Diffstat (limited to 'xwayland')
0 files changed, 0 insertions, 0 deletions