summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-10-03Fix compilation errorsHEADmasterDaniel Martin1-36/+26
It was impossible to compile this example input driver in combination with a current server, cause various changes in the server raised compilation errors in this driver. With these changes the example input driver can be build and tested with a current server, again. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-11-30Reset pInfo->private to NULL before calling xf86DeleteInput.Peter Hutterer1-0/+3
This is a rather common problem, xf86DeleteInput frees pInfo->private if not-NULL, thus causing a double free if the driver has already done so but not reset the pointer. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-11-30Re-witten 'random' input driver.Przemysław Firszt10-0/+661
This is an example input driver aimed at showing the hooks needed to get a new input driver going from scratch. [Original repository got lost, Przemysław rewrote the driver from scratch based on the snippets still on the wiki.] Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>