summaryrefslogtreecommitdiff
path: root/test/mtdev.c
Commit message (Collapse)AuthorAgeFilesLines
* Change test program name to mtdev-testHenrik Rydberg2010-07-191-97/+0
| | | | | | | In order to simplify packaging, rename the current mtdev device test program to mtdev-test. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Apply new package title to all filesHenrik Rydberg2010-06-221-1/+1
| | | | | | | This patch changes the package description title in all relevant files, and touches up the README. All systems go. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* janitor: fix compiler warningsHenrik Rydberg2010-06-221-0/+1
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Restructure mtdev apiHenrik Rydberg2010-06-191-6/+3
| | | | | | | | | | | | | Split the api into plumbing and porcelain layers and move the plumbing part to its own optional header file. The main usecase is to fetch events from the device, route them through the converter and extract the processed events. To simplify the API, replace the intermediate mtdev_pull() function by the higher-level mtdev_get(). This function does all the required steps, and has the same semantics as read(). Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Use a non-blocking example in test/mtdevHenrik Rydberg2010-06-181-2/+6
| | | | | | The non-blocking case is more interesting for X applications. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Initial load of mtdev projectHenrik Rydberg2010-06-171-0/+95
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>