| summaryrefslogtreecommitdiff | 
diff options
| author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2020-01-03 03:50:24 +0100 | 
|---|---|---|
| committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2020-01-03 03:50:24 +0100 | 
| commit | a4841776b6e1751232d46482731836a7c17b896f (patch) | |
| tree | bd818e08f2c145dc1629d0d568feb7106ff274d8 /src/device/axis/axis.c | |
| parent | 63016ce5c71019de315434de3e91adbf535d4986 (diff) | |
Still working on it...
Diffstat (limited to 'src/device/axis/axis.c')
| -rw-r--r-- | src/device/axis/axis.c | 15 | 
1 files changed, 14 insertions, 1 deletions
| diff --git a/src/device/axis/axis.c b/src/device/axis/axis.c index 75afad8..2659c84 100644 --- a/src/device/axis/axis.c +++ b/src/device/axis/axis.c @@ -1,6 +1,9 @@  /**** POSIX *******************************************************************/  #include <string.h> +/**** LIBEVDEV ****************************************************************/ +#include <libevdev/libevdev.h> +  /**** RELABSD *****************************************************************/  #include <relabsd/device/axis.h> @@ -21,7 +24,7 @@ void relabsd_axis_initialize  void relabsd_axis_to_absinfo  ( -   struct relabsd_axis axis [const restrict static 1] +   struct relabsd_axis axis [const restrict static 1],     struct input_absinfo absinfo [const restrict static 1]  )  { @@ -32,3 +35,13 @@ void relabsd_axis_to_absinfo     absinfo->flat = (__s32) axis->flat;     absinfo->resolution = (__s32) axis->resolution;  } + +void relabsd_axis_enable +( +   struct relabsd_axis axis [const restrict static 1] +) +{ +   axis->is_enabled = 1; +} + + | 


