mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-23 02:19:49 +01:00
7a5d3c4d3b
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 |