| summaryrefslogtreecommitdiff |
diff options
| author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2019-12-26 18:32:26 +0100 |
|---|---|---|
| committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2019-12-26 18:32:26 +0100 |
| commit | 4a9df9b604cec6ee4b4a6f01ef940443583f7573 (patch) | |
| tree | 0f455bf9c07bb598f2701be0a61f1c3b3b512db2 /src/device | |
| parent | 390576c3839ee7abb845e27b7267de45495e6b2f (diff) | |
Still working on the daemonization (and rewrite).
I am not sure that what I am doing is going to provide what was
requested in https://github.com/nsensfel/relabsd/issues/3 but it will at
the very least turn relabsd into a proper daemon, and the additions will
help create some kind of relabsd device manager if someone needs such a
thing.
Diffstat (limited to 'src/device')
| -rw-r--r-- | src/device/physical_device.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/device/physical_device.c b/src/device/physical_device.c index a518750..7e365da 100644 --- a/src/device/physical_device.c +++ b/src/device/physical_device.c @@ -1,15 +1,14 @@ -#include <fcntl.h> +/**** RELABSD *****************************************************************/ #include <errno.h> +#include <fcntl.h> #include <string.h> #include <unistd.h> +/**** LIBEVDEV ****************************************************************/ #include <libevdev/libevdev.h> -#include "error.h" -#include "axis.h" -#include "config.h" - -#include "input.h" +/**** RELABSD *****************************************************************/ +#include <relabsd/debug.h> /* * Ensures that the input device has enabled the EV_REL axes mentioned |


