| summaryrefslogtreecommitdiff | 
diff options
Diffstat (limited to 'src/device/axis/axis.c')
| -rw-r--r-- | src/device/axis/axis.c | 19 | 
1 files changed, 18 insertions, 1 deletions
| diff --git a/src/device/axis/axis.c b/src/device/axis/axis.c index 5fe313e..e854e37 100644 --- a/src/device/axis/axis.c +++ b/src/device/axis/axis.c @@ -24,7 +24,7 @@ void relabsd_axis_initialize  void relabsd_axis_to_absinfo  ( -   struct relabsd_axis axis [const restrict static 1], +   const struct relabsd_axis axis [const restrict static 1],     struct input_absinfo absinfo [const restrict static 1]  )  { @@ -51,3 +51,20 @@ int relabsd_axis_is_enabled  {     return axis->is_enabled;  } + +int relabsd_axis_attributes_are_dirty +( +   const struct relabsd_axis axis [const restrict static 1] +) +{ +   return axis->attributes_were_modified; +} + +void relabsd_axis_set_attributes_are_dirty +( +   const int val, +   struct relabsd_axis axis [const restrict static 1] +) +{ +   axis->attributes_were_modified = val; +} | 


