quakeforge/include/evdev/hotplug.h
Bill Currie a91dac60d9 [input] Start work on improved input system
The common input code (input outer loop and event handling) has been
moved into libQFinput, and modified to have the concept of input drivers
that are registered by the appropriate system-level code (x11, win,
etc).

As well, my evdev input library code (with hotplug support) has been
added, but is not yet fully functional. However, the idea is that it
will be available on all systems that support evdev (Linux, and from
what I've read, FreeBSD).
2021-08-27 09:10:21 +09:00

14 lines
349 B
C

#ifndef evdev_hotplug_h
#define evdev_hotplug_h
int inputlib_hotplug_init(const char *path,
void (*created) (const char*),
void (*deleted) (const char *));
void inputlib_hotplug_close (void);
int inputlib_hotplug_add_select (fd_set *fdset, int *maxfd);
int inputlib_hotplug_check_select (fd_set *fdset);
#endif//evdev_hotplug_h