| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
If evemu-device is backgrounded it can only be killed with
SIGTERM. That again doesn't clean up properly. Since we didn't do
anything with the read(2) data anyway, replace it with a sleep(3) and
set the signal handler to terminate the loop on SIGINT and a few other
signals.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
|
| |
|
|
|
|
|
| |
Like the scan functions, evemu_device returns a non-positive number
on failure. Adjust logic to capture the read errors returning zero.
Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
|
| |
|
|
|
| |
Signed-off-by: Stephen M. Webb <stephen.webb@canonical.com>
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>
|
| |
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
| |
Scripts that need the device node may have difficulties if
the stream is not flushed before entering the event loop.
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>
|