a script to apply calibration data based on teh xkb one we use:
cat ../hal-setup-touchscreen
#!/bin/sh
#
# borrowed from Fedora and modified to apply touchscreen calibration data
#
[ -x /usr/bin/hal-set-property ] || exit 0
. /etc/default/evtouch > /dev/null 2>&1 || exit 0
hal_set () {
if [ -n "$2" ]; then
/usr/bin/hal-set-property --direct --udi "$UDI" --key input.x11_options.$1 --string "$2"
else
/usr/bin/hal-set-property --direct --udi "$UDI" --key input.x11_options.$1 --remove
fi
}
a script to apply calibration data based on teh xkb one we use: setup-touchscre en
cat ../hal-
#!/bin/sh
#
# borrowed from Fedora and modified to apply touchscreen calibration data
#
[ -x /usr/bin/ hal-set- property ] || exit 0
. /etc/default/ evtouch > /dev/null 2>&1 || exit 0
hal_set () { hal-set- property --direct --udi "$UDI" --key input.x11_ options. $1 --string "$2" hal-set- property --direct --udi "$UDI" --key input.x11_ options. $1 --remove
if [ -n "$2" ]; then
/usr/bin/
else
/usr/bin/
fi
}
hal_set minx $MINX
hal_set miny $MINY
hal_set maxx $MAXX
hal_set maxy $MAXY
hal_set movelimit $MOVELIMIT