summaryrefslogtreecommitdiff
path: root/src/evdev.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2007-04-19 15:38:26 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2007-04-19 18:46:57 +0930
commitd37ba205bba0be782e3cd02ca7cedb98a304482d (patch)
treeab90c990ec2015b0309b42009f2901f3908e8619 /src/evdev.c
parent9875e2f7f96c6bfc4f01fffc7e1127724bbd0b7d (diff)
Add some documentation to evdev.c and evdev_brain.c.
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)
{