1 #ifndef __TS_FILTER_LINEAR_H__
2 #define __TS_FILTER_LINEAR_H__
5 #include <linux/kobject.h>
8 * Touchscreen linear filter.
10 * Copyright (C) 2008,2009 by Openmoko, Inc.
11 * Author: Nelson Castillo <arhuaco@freaks-unidos.net>
15 #define TS_FILTER_LINEAR_NCONSTANTS 7
17 struct ts_filter_linear_configuration
{
18 /* Calibration constants. */
19 int constants
[TS_FILTER_LINEAR_NCONSTANTS
];
20 /* First coordinate. */
22 /* Second coordinate. */
25 /* Generic filter configuration. */
26 struct ts_filter_configuration config
;
29 extern const struct ts_filter_api ts_filter_linear_api
;