diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2009-10-24 22:09:01 +0200 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2009-10-24 22:09:01 +0200 |
commit | 399e0854777c263dee8f5abcbe5749007e594ee5 (patch) | |
tree | 48be7e34e539ccc48e9e17e40682c6ed4bf742f1 /include/linux/input/touchscreen/ts_filter_mean.h | |
parent | 7319a99ed3faebd022c4912884415c2ed087bce8 (diff) | |
parent | 36a5e8676f2d19482cd4d9837c12d24c58882f8a (diff) |
Merge branch 's3c-touchscreen-2.6.31' into om-gta02-2.6.31
Diffstat (limited to 'include/linux/input/touchscreen/ts_filter_mean.h')
-rw-r--r-- | include/linux/input/touchscreen/ts_filter_mean.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/include/linux/input/touchscreen/ts_filter_mean.h b/include/linux/input/touchscreen/ts_filter_mean.h new file mode 100644 index 00000000000..d4870413987 --- /dev/null +++ b/include/linux/input/touchscreen/ts_filter_mean.h @@ -0,0 +1,28 @@ +#ifndef __TS_FILTER_MEAN_H__ +#define __TS_FILTER_MEAN_H__ + +#include <linux/input/touchscreen/ts_filter.h> + +/* + * Touchscreen filter. + * + * mean + * + * (c) 2008,2009 + * Andy Green <andy@warmcat.com> + * Nelson Castillo <arhuaco@freaks-unidos.net> + */ + +/* Configuration for this filter. */ +struct ts_filter_mean_configuration { + /* Number of points for the mean. */ + int length; + + /* Generic filter configuration. */ + struct ts_filter_configuration config; +}; + +/* API functions for the mean filter */ +extern const struct ts_filter_api ts_filter_mean_api; + +#endif /* __TS_FILTER_MEAN_H__ */ |