我的电容触屏特别不灵敏
如题,我的电容触屏特别不灵敏,在qt的那个主界面上的时候还可以,等点击进入下面子窗口的时候,触屏就不太好用了,尤其是那个关闭窗口按钮,可能要点几十下才能偶尔关闭,我初步估计是触屏校准与窗口上的图标不匹配,这个应该怎么做?我想重新校一下屏,除了重新初始化rootfs系统外,还能怎么做?谢谢 建议lz将屏幕的外壳去掉,屏幕的外壳影响了屏幕边角的触摸是用 l谢谢楼上,不过把外壳去了,也没改善 我把ft5x06_ts.c中的printk("Linux Touch down,it is start \n");和printk("Linux Touch up,it is end \n");打开了按键正常的时候有Linux Touch up,it is end输出,怎么按都没反应的时候就只有"Linux Touch down,it is start输出。 我把从i2c总线上读出来的数据上上看,如果触摸时间稍长一点,从i2c读出来的数据就不正确,只能快速的点击看着数据才能正常一点,还有就是每个子串口的关闭按钮感觉是点不到正确位置上,偶尔能有效。快速点击正确的打印数据是recdata=0,0,11,1,5a,5a,0,fe,0,0
start read_data i2c_rxdata OK
Touch down, x=15a y=fe
Linux Touch down,it is start
button down
recdata=0,0,11,81,5a,5a,0,fe,0,0
start read_data i2c_rxdata OK
Touch down, x=15a y=fe
Linux Touch down,it is start
button down
recdata=0,0,11,81,5a,5a,0,fe,0,0
start read_data i2c_rxdata OK
Touch down, x=15a y=fe
Linux Touch down,it is start
button down
recdata=0,0,10,41,5a,5a,0,fe,0,0
Touch up,it is end !
start read_data i2c_rxdata OK
Linux Touch up,it is end
button down
其中recdata后面跟的是i2c读出来的数据,这个数据从协议上看是正确
稍微按触屏的时间长一点,也就是点击的2-3倍吧
recdata=0,0,11,2,70,70,1,46,0,0
start read_data i2c_rxdata OK
Touch down, x=270 y=146
Linux Touch down,it is start
button down
recdata=0,0,11,82,70,70,1,46,0,0
start read_data i2c_rxdata OK
Touch down, x=270 y=146
Linux Touch down,it is start
button down
recdata=0,0,11,82,70,70,1,46,0,0
start read_data i2c_rxdata OK
Touch down, x=270 y=146
Linux Touch down,it is start
button down
recdata=0,0,11,82,70,70,1,46,0,0
start read_data i2c_rxdata OK
Touch down, x=270 y=146
Linux Touch down,it is start
button down
recdata=0,0,11,82,70,70,1,46,0,0
start read_data i2c_rxdata OK
Touch down, x=270 y=146
Linux Touch down,it is start
button down
recdata=0,0,11,82,70,70,1,46,0,0
start read_data i2c_rxdata OK
Touch down, x=270 y=146
Linux Touch down,it is start
button down
recdata=0,0,11,82,70,70,1,46,0,0
start read_data i2c_rxdata OK
Touch down, x=270 y=146
Linux Touch down,it is start
button down
recdata=0,0,11,82,70,70,1,46,0,0
start read_data i2c_rxdata OK
Touch down, x=270 y=146
Linux Touch down,it is start
button down
recdata=0,0,11,82,70,70,1,46,0,0
start read_data i2c_rxdata OK
Touch down, x=270 y=146
Linux Touch down,it is start
button down
recdata=0,0,11,82,70,70,1,46,0,0
start read_data i2c_rxdata OK
Touch down, x=270 y=146
Linux Touch down,it is start
button down
recdata=0,0,11,82,70,70,1,46,0,0
start read_data i2c_rxdata OK
Touch down, x=270 y=146
Linux Touch down,it is start
button down
recdata=0,0,11,82,70,70,1,46,0,0
start read_data i2c_rxdata OK
Touch down, x=270 y=146
Linux Touch down,it is start
button down
recdata=0,0,11,82,70,70,1,46,0,0
start read_data i2c_rxdata OK
Touch down, x=270 y=146
Linux Touch down,it is start
button down
recdata=0,ff,5,ff,ff,ff,ff,ff,0,0
start read_data i2c_rxdata OK
Touch down, x=fff y=fff
Linux Touch down,it is start
Touch down, x=fff y=fff
Linux Touch down,it is start
Touch down, x=fff y=fff
Linux Touch down,it is start
Touch down, x=fff y=fff
Linux Touch down,it is start
Touch down, x=fff y=fff
Linux Touch down,it is start
button down
从数据上看没有抬起动作,后面还有好多ff的值,从这个现象上看是触屏本身发出来的数据不正确
点击关闭串口按钮的那个X键
recdata=0,0,11,3,19,19,0,30,0,0
start read_data i2c_rxdata OK
Touch down, x=319 y=30
Linux Touch down,it is start
button down
recdata=0,0,11,83,19,19,0,30,0,0
start read_data i2c_rxdata OK
Touch down, x=319 y=30
Linux Touch down,it is start
button down
recdata=0,0,11,83,19,19,0,30,0,0
start read_data i2c_rxdata OK
Touch down, x=319 y=30
Linux Touch down,it is start
button down
recdata=0,0,11,83,19,19,0,30,0,0
start read_data i2c_rxdata OK
Touch down, x=319 y=30
Linux Touch down,it is start
button down
recdata=0,0,11,83,19,19,0,30,0,0
start read_data i2c_rxdata OK
Touch down, x=319 y=30
Linux Touch down,it is start
button down
recdata=0,0,11,83,19,19,0,30,0,0
start read_data i2c_rxdata OK
Touch down, x=319 y=30
Linux Touch down,it is start
button down
recdata=0,0,10,43,19,19,0,30,0,0
Touch up,it is end !
start read_data i2c_rxdata OK
Linux Touch up,it is end
button down
感觉事件时触发了,但是串口也关闭不上,偶尔能关上,不知道这是什么原因
楼上朋友,如果是Linux系统建议您选择电阻屏,Linux电容屏触摸驱动我们这边也在优化改进,后续会有新版本升级。
页:
[1]