|
Touchinput with rotated display
|
12/09/2011 9:32 AM
post90505
|
Touchinput with rotated display
Hi,
we are using QNX 6.5.0 with Photon. We rotate the display via PgPHookRegister(). This works very good. But the
touchinput doesn't work for the rotated display. The problem is that the resolution changed from 640x480 to 480x640 when
the display is rotated. But the touchinput driver doesn't know anything about the rotation. It still works with 640x480
resolution.
We hoped that we can put a filter between PhEventNext() and PtEventHandler() to adapt the input coordinates to the
rotated display coordinates. But the QNX 6.5.0 documantion says you should use PtMainLoop() if you are working with
widgets. We are working with widgets. So what can we do?
Stephen
|
|
|