summaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen/gsl1680_ts/gslX680.h
blob: c146127c511616e46fd75a4e65bdfac0a22890d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef _GSLX680_H_
#define _GSLX680_H_



#define GSL_NOID_VERSION
#ifdef	GSL_NOID_VERSION
struct gsl_touch_info
{
	int x[10];
	int y[10];
	int id[10];
	int finger_num;	
};
extern unsigned int gsl_mask_tiaoping(void);
extern unsigned int gsl_version_id(void);
extern void gsl_alg_id_main(struct gsl_touch_info *cinfo);
extern void gsl_DataInit(int *ret);

extern int gsl_noid_ver;
extern unsigned int gsl_config_data_id[512];
#endif

struct fw_data
{
    //u32 offset : 8;
    //u32 : 0;
    u32 offset;
    u32 val;
};

extern void wmt_set_keypos(int index,int xmin,int xmax,int ymin,int ymax);


#endif