You are not logged in.
I have a Dell Latitude XT tablet that folds into a usually-portrait format. xrandr -o yadda will rotate the screen just fine, but my touchscreen still keeps the normal orientation. Is there a way I can configure or script this computer to rotate the touchscreen orientation while rotating the display?
Here's the lsusb section related to this touchscreen device. It is a dual-mode touchscreen and stylus input device.
Bus 003 Device 002: ID 1b96:0001 N-Trig Duosense Transparent Electromagnetic Digitizer
Offline
Hello,
Sounds familiar to https://bbs.archlinux.org/viewtopic.php?id=106491
Please look at Xorg.log to determine which driver is used for your touchscreen.
Offline
Just looked into aur for the new synaptics multitouch support, and this scrolled by:
http://aur.archlinux.org/packages.php?ID=34369
Offline
Thanks for the help! After playing around a bit with xinput, I eventually just wrote a bash script to do this:
#!/bin/bash
rangex=( 0 9640 )
rangey=( 0 7220 )
torotate=( 9 10 )
xrandrout="$(xrandr)"
case $xrandrout in
*800x1280* ) cal=( ${rangex[@]} ${rangey[@]} ); rotate=0;;
*1280x800* ) cal=( ${rangey[@]} ${rangex[@]} ); rotate=1;;
esac
xrandr -o $(( rotate * 3 ))
for input in ${torotate[@]}; do
xinput set-prop $input "Evdev Axes Swap" $rotate
xinput set-prop $input "Evdev Axis Inversion" 0, $rotate
xinput set-prop $input "Evdev Axis Calibration" ${cal[@]}
done
Offline