PDA

View Full Version : VNC: rotated touchscreen input with multiple monitor settings



SuperPT
15th June 2016, 14:31
Hello,
I'm developing an embedded application that works on a linux board using QT 4.8.5. To view it correctly I have to rotate the screen because it is mounted vertically on the board. I obtained this settings the QWS_DISPLAY variable as following:



export QWS_DEPTH=24
export QWS_DISPLAY=Transformed:Rot90


Now I need to control it from remote with a vnc connection, to see the application correctly I have to set a multi monitor to have the screen of the vnc on the original orientation and the embedded screen rotated by 90°, therefore I modified the QWS_DISPLAY variable as following:



export QWS_DEPTH=24
export QWS_DISPLAY="Multi: VNC:size=576x720:0 Transformed:Rot90:1"


With these settings the visualization is good both on the client and on the display, the inputs on the VNC client works fine, but on the touchscreen display the inputs are rotated by 90°.
How can I set QWS_DISPLAY to fix it?

rulio12
30th June 2016, 14:01
Hi,
I have the same problem in 4.7
and the both order not solved the problem:

#/root/ihm -qws "Multi: transformed:rot270:0 vnc:size=480x800:1 :2"
#/root/ihm -qws "Multi: vnc:size=480x800:0 transformed:rot270:1 :2"

It's like tslib is unloaded, but reload it not solved the problem
#export QWS_MOUSE_PROTO="Tslib:/dev/input/event0"

Thank you

rulio12

anthonytornambe
30th August 2016, 06:42
Have you solve above issue yet?