aboutsummaryrefslogtreecommitdiff
path: root/src/evdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/evdev.c')
-rw-r--r--src/evdev.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/evdev.c b/src/evdev.c
index 668303a..b9f7303 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -391,6 +391,16 @@ EvdevParseBitOption (char *opt, unsigned long *all, unsigned long *not, unsigned
}
}
+/**
+ * Called during InitInput().
+ * Starts up the evdev brain device if it hasn't started yet and then causes a
+ * full rescan of all devices.
+ *
+ * @param drv The evdev driver module. Copied version of EVDEV.
+ * @param dev The device we'd like to initialise.
+ *
+ * @return NULL on failure or the InputInfoPtr of the new device.
+ */
static InputInfoPtr
EvdevCorePreInit(InputDriverPtr drv, IDevPtr dev, int flags)
{