summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Complete function documentation in evemu.hHenrik Rydberg2011-03-151-16/+0
| | | | | | | | | For reasons not likely to become clear again at the moment, only two functions were ever documented, and those were made in the source file where nobody can see it. This patch adds function documentation to all functions in the header file. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Add the missing evemu_set_name() functionHenrik Rydberg2011-03-151-3/+10
| | | | | | | | | | During the evolution of evemu, the process of setting the device name has shifted towards the evemu_extract() and evemu_read() functions, rendering the initial name in evemu_new() more or less useless. This patch adds the missing evemu_set_name() function, in order to make it possible to override the device name before device creation. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Move realtime read into its own functionHenrik Rydberg2011-03-141-13/+28
| | | | | | | | | The realtime read functionality is needed in many places, in particular in the test frameworks of utouch-frame and utouch-grail. Move the realtime code from evemu_play into its own function, and make it part of the API. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Added GPL-3 licensing to source files.Stephen M. Webb2011-03-142-1/+32
| | | | | Signed-off-by: Stephen M. Webb <stephen.webb@canonical.com> Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Silence compiler warningPeter Hutterer2011-01-051-0/+2
| | | | | | | | | | | evemu.c: In function 'evemu_write': evemu.c:244:1: warning: control reaches end of non-void function return 0, assuming that the return value should be 0 on success or nonzero otherwise. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Add a couple of includes to silence compiler warnings.Peter Hutterer2011-01-051-0/+2
| | | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Add source header to distributionHenrik Rydberg2010-12-221-0/+1
| | | | | | | Added the missing header file to the sources, so that it also ends up in the distro tarball. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Use a single abi version variableHenrik Rydberg2010-12-222-11/+4
| | | | | | Simplify versioning by using a single coded variable. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Document the new/delete semanticsHenrik Rydberg2010-12-211-0/+16
| | | | | | | There is more to do on documentation, but since these are new, add documentation for them first. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Complete current evemu apiHenrik Rydberg2010-12-211-0/+55
| | | | | | Add missing accessor functions for the device. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Support kernel device propertiesHenrik Rydberg2010-12-212-12/+85
| | | | | | | | In the upcoming 2.6.38 kernel, there is a new device property bitfield, useful during device setup. This patch adds support for it. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Make evemu ABI resilientHenrik Rydberg2010-12-212-1/+49
| | | | | | | | Hide the evemu struct, make it versioned, and instead use new/delete and accessor functions. This should give us enough ABI stability to run mixed library implementations. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Rename project and libraries to utouch-evemuv1.0.0Henrik Rydberg2010-09-191-5/+5
| | | | | | | | This project is part of utouch, and the library should be named thereafter. Also helps avoid confusion with an unrelated project with the same name. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Do not allow spaces in device nameHenrik Rydberg2010-09-191-0/+3
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Initial evemu commitHenrik Rydberg2010-09-182-0/+325
Evemu is a kernel device and emulator, which allows for remote creation and testing of arbitrary devices. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>