c6d81bd723
This adds a driver for touchscreens using the zforce infrared technology from Neonode connected via i2c to the host system. It supports multitouch with up to two fingers and tracking of the contacts in hardware. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
26 lines
758 B
C
26 lines
758 B
C
/* drivers/input/touchscreen/zforce.c
|
|
*
|
|
* Copyright (C) 2012-2013 MundoReader S.L.
|
|
*
|
|
* This software is licensed under the terms of the GNU General Public
|
|
* License version 2, as published by the Free Software Foundation, and
|
|
* may be copied, distributed, and modified under those terms.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
#ifndef _LINUX_INPUT_ZFORCE_TS_H
|
|
#define _LINUX_INPUT_ZFORCE_TS_H
|
|
|
|
struct zforce_ts_platdata {
|
|
int gpio_int;
|
|
int gpio_rst;
|
|
|
|
unsigned int x_max;
|
|
unsigned int y_max;
|
|
};
|
|
|
|
#endif /* _LINUX_INPUT_ZFORCE_TS_H */
|