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. |
||
---|---|---|
.. | ||
direct-freebsd.c | ||
direct-ipc.c | ||
direct.c | ||
logind.c | ||
session.c |