diff options
author | Srikant Patnaik | 2015-01-11 12:28:04 +0530 |
---|---|---|
committer | Srikant Patnaik | 2015-01-11 12:28:04 +0530 |
commit | 871480933a1c28f8a9fed4c4d34d06c439a7a422 (patch) | |
tree | 8718f573808810c2a1e8cb8fb6ac469093ca2784 /drivers/input/touchscreen/ssd253x_ts/ssd253x-ts.h | |
parent | 9d40ac5867b9aefe0722bc1f110b965ff294d30d (diff) | |
download | FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.tar.gz FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.tar.bz2 FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.zip |
Moved, renamed, and deleted files
The original directory structure was scattered and unorganized.
Changes are basically to make it look like kernel structure.
Diffstat (limited to 'drivers/input/touchscreen/ssd253x_ts/ssd253x-ts.h')
-rwxr-xr-x | drivers/input/touchscreen/ssd253x_ts/ssd253x-ts.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/drivers/input/touchscreen/ssd253x_ts/ssd253x-ts.h b/drivers/input/touchscreen/ssd253x_ts/ssd253x-ts.h new file mode 100755 index 00000000..fe6edeae --- /dev/null +++ b/drivers/input/touchscreen/ssd253x_ts/ssd253x-ts.h @@ -0,0 +1,28 @@ +/************************************************************** +使用前注意通道数,驱动默认使用通道是sense +大于drive否则需要将使用到的DRIVENO与SENSENO调换 +此情况包括0x66和0x67寄存器,但不必修改。 +***************************************************************/ +#ifndef __SSD253X_20125181742_TS_H__ +#define __SSD253X_20125181742_TS_H__ +#define DRIVENO 15 +#define SENSENO 10 +#define EdgeDisable 1 // if Edge Disable, set it to 1, else reset to 0 +#define RunningAverageMode 2 //{0,8},{5,3},{6,2},{7,1} +#define RunningAverageDist 4 // Threshold Between two consecutive points +#define MicroTimeTInterupt 10000000 //20000000// 100Hz - 10,000,000us +#define FINGERNO 10 + +//#define USE_TOUCH_KEY + +#define USE_CUT_EDGE //0x8b must be 0x00; EdgeDisable set 0 +//#undef USE_CUT_EDGE + +#ifdef USE_CUT_EDGE + #define XPOS_MAX 576 //(DRIVENO - EdgeDisable) *64 + #define YPOS_MAX 896 //(SENSENO - EdgeDisable) *64 +#endif + + + +#endif |