wscons: Move to its own device type

This reduces ifdefs and avoids overloading evdev as something it is not.
This commit is contained in:
Kenny Levinsen 2022-03-29 10:41:16 +02:00
parent 684dd61945
commit 0462e9331d
7 changed files with 51 additions and 27 deletions

View file

@ -4,9 +4,4 @@
int evdev_revoke(int fd);
int path_is_evdev(const char *path);
#if defined(__linux__) || defined(__NetBSD__)
#include <sys/types.h>
int dev_is_evdev(dev_t device);
#endif
#endif