共 5 篇文章 |
|
(Xs, Ys)为转换后得到的显示屏坐标,(Xt, Yt)为原始的触摸屏坐标,ABCDEFG为该线性算法的7个参数,通过至少三点(Xt1,Yt1),(Xt2,Yt2),(Xt3,Yt3),(Xs1,Ys1),(Xs2,Ys2),(Xs3,Ys3)求出这些参数,其中的(Xsi,Ysi)为校正时屏幕上出现校正点的显示屏坐标。如果文件已经存在,则将该文件写入触摸屏驱动,真正实现算法,以后每次点触摸屏得到的坐标,就... 阅25 转0 评0 公众公开 15-05-04 08:21 |
ABS_TILT_Y: (optional) Reports the tilt of the tool from the surface of the touch device along the Y axis.raw.touchMinorThe value of the ABS_MT_TOUCH_MINOR axis, or raw.touchMajor if not available.An orientation of 0 indicates that the major axis is oriented vertically, -PI/2indicates that the major axis is oriented t... 阅1401 转1 评0 公众公开 14-10-08 11:25 |
ATMEL mXT224电容触摸屏调试笔记。ATMEL的电容屏做的是最好的。Protocol Example A------------------Here is what a minimal event sequence for a two-contact touch would looklike for a type A device: ABS_MT_POSITION_X x[0] ABS_MT_POSITION_Y y[0] SYN_MT_REPORT ABS_MT_POSITION_X x[1] ABS_MT_POSITION_Y y[1] SYN_MT_REPORT SYN_RE... 阅2239 转0 评0 公众公开 14-10-08 11:23 |
#define WAIT4INT(x) (((x)<<8) | \ S3C2410_ADCTSC_YM_SEN | S3C2410_ADCTSC_YP_SEN | S3C2410_ADCTSC_XP_SEN | \ S3C2410_ADCTSC_XY_PST(3)) 这个宏是设置,ADCTSC寄存器的。#define AUTOPST (S3C2410_ADCTSC_YM_SEN | S3C2410_ADCTSC_YP_SEN | S3C2410_ADCTSC_XP_SEN | \ S3C2410_ADCTSC_AUTO_PST | S3C2410_ADCTSC_XY_... 阅211 转2 评0 公众公开 13-10-07 21:17 |