| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
The current code only reads a single word as the device name, and the
extract function replaces spaces with hyphens to match that. This
patch modifies the scan code to allow for a full line of name data,
and removes the name modification during extraction.
Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
|
| |
|
|
| |
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
|
| |
|
|
|
|
| |
The kernel doesn't like those devices and initialization will fail.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
|
| |
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
| |
Signed-off-by: Stephen M. Webb <stephen.webb@canonical.com>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
|
| |
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
| |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
|
| |
|
|
|
|
| |
Simplify versioning by using a single coded variable.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
|
| |
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
| |
Add missing accessor functions for the device.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
|
| |
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
| |
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>
|
| |
|
|
| |
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
|
|
|
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>
|