请教下,TSLIB是怎么和一线触摸设备联系在一起的?
在qtopia的shell文件中,对TSLIB的环境变量设置是
if [ -e /etc/friendlyarm-ts-input.conf ] ; then
. /etc/friendlyarm-ts-input.conf
fi
true ${TSLIB_TSDEVICE:=/dev/touchscreen}
if grep -Ei "\<ctp=(1|2|3)\>" /proc/cmdline >/dev/null; then
TSLIB_CONFFILE=/etc/ts-mt.conf
else
TSLIB_CONFFILE=/etc/ts.conf
fi
export TSLIB_TSDEVICE
export TSLIB_CONFFILE
export TSLIB_PLUGINDIR=/usr/lib/ts
export TSLIB_CALIBFILE=/etc/pointercal
为什么是TSLIB_TSDEVICE:=/dev/touchscreen?
不应该是 TSLIB_TSDEVICE:=/dev/touchscreen-1wire吗?
