# ./ts_test
tslib: Selected device is not a touchscreen (must support ABS and KEY event types)
tslib: Selected device is not a touchscreen (must support ABS and KEY event types)
tslib: Selected device is not a touchscreen (must support ABS and KEY event types)
tslib: Selected device is not a touchscreen (must support ABS and KEY event types)
tslib: Selected device is not a touchscreen (must support ABS and KEY event types)
# ./ts_calibrate
xres = 800, yres = 480
tslib: Selected device is not a touchscreen (must support ABS and KEY event types)
ts_read: No such file or directory
离线
参考此帖: V3S 移植了qt5.4 程序触摸没有反应
tslib的测试程序会先读 TSLIB_TSDEVICE 等环境变量,然后打开对应的pointer输入设备。
所以你得检查一下输入设备是否正常。
晕哥,我的没有/dev/input/event1设备,要怎么搞才行
离线
eventx选错了,修改vi /etc/profile
离线
正解。没有选对设备
eventx选错了,修改vi /etc/profile
离线
要学会看代码啊
离线