android_kernel_google_msm/include/linux/i2c/ektf3k.h
mars_kao 85d0fd9a18 TouchScreen:571K/KL: Modify the Y resolution.
the y coordinate is from 0 to 1343.

Change-Id: Ie06c25bf469e42b8db6b5479530df299823d04ef
Signed-off-by: mars_kao <mars_kao@asus.com>
2013-04-18 16:09:23 -07:00

28 lines
597 B
C
Executable file

#define ELAN_X_MAX 2240 //picasso 2624 2240 asus 2240 3008 2240
#define ELAN_Y_MAX 1408 //picasso 1728 1408 asus 1280 1856 1408
#define ELAN_X_MAX_571K 2240
#define ELAN_Y_MAX_571K 1344
#define ELAN_X_MAX_370T 2112
#define ELAN_Y_MAX_370T 1280
#define ELAN_X_MAX_202T 2944
#define ELAN_Y_MAX_202T 1856
#ifndef _LINUX_ELAN_KTF2K_H
#define _LINUX_ELAN_KTF2K_H
#define ELAN_KTF3K_NAME "elan-ktf3k"
struct elan_ktf3k_i2c_platform_data {
uint16_t version;
int abs_x_min;
int abs_x_max;
int abs_y_min;
int abs_y_max;
int intr_gpio;
int rst_gpio;
};
#endif /* _LINUX_ELAN_KTF2K_H */