mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-02 12:02:47 +00:00
Input: add driver for Neonode zForce based touchscreens
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>
This commit is contained in:
parent
e4a42f655f
commit
c6d81bd723
4 changed files with 876 additions and 0 deletions
26
include/linux/platform_data/zforce_ts.h
Normal file
26
include/linux/platform_data/zforce_ts.h
Normal file
|
@ -0,0 +1,26 @@
|
|||
/* 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 */
|
Loading…
Add table
Add a link
Reference in a new issue