aboutsummaryrefslogtreecommitdiff
path: root/include/linux/input/touchscreen/ts_filter_mean.h
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2009-10-24 16:06:05 +0200
committerLars-Peter Clausen <lars@metafoo.de>2009-12-21 17:15:48 +0100
commitc0be5ad97fb0f722b8afded74256742c008991d9 (patch)
tree4dc65a604561c5da3e365055623888c58cb6f657 /include/linux/input/touchscreen/ts_filter_mean.h
parent871c0b38ef349686071b055d012bff712088aa61 (diff)
ts-filter: Move include files to include/linux/input/touchscreen
Diffstat (limited to 'include/linux/input/touchscreen/ts_filter_mean.h')
-rw-r--r--include/linux/input/touchscreen/ts_filter_mean.h28
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__ */