From 5867bb8f12f3841a06eed3cd253365be0728c0af Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Thu, 3 Sep 2015 05:11:31 +0200 Subject: Now applies the 'fuzz' and 'flat' properties. --- src/config.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/config.h') diff --git a/src/config.h b/src/config.h index 1ede1f3..c0c83a7 100644 --- a/src/config.h +++ b/src/config.h @@ -8,6 +8,7 @@ struct relabsd_config_axis { int enabled; + int previous_value; int min; int max; int fuzz; @@ -54,11 +55,13 @@ int relabsd_config_parse * * If the return value is 0, this function will not have altered the value at * 'value'. Otherwise, this function can have altered it to match its - * requierements. + * requirements. + * If the return value is either 0 or -1, the 'previous_value' of the axis + * has been updated. */ int relabsd_config_filter ( - const struct relabsd_config * const conf, + struct relabsd_config * const conf, enum relabsd_axis const axis, int * const value ); -- cgit v1.2.3-70-g09d2