mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-11 15:51:36 +00:00
a91dac60d9
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).
14 lines
349 B
C
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
|