Add Rotate support to a driver

yoni dana dana.yoni at gmail.com
Thu May 13 12:30:17 PDT 2010


Hi
Thanks for the reply. I am writing an x11 input driver. I have a
looked at some x11 input driver
and didn't see the XRRScreenChangeNotify  function, is there another way
i can detect screen rotation so i can swap between X and Y coordinate
thank you


i have look at the synaptic and evdev driver and didn't see
XRRScreenChangeNotify
function, is there another wahy
On Wed, May 12, 2010 at 12:52 PM, Éric Piel <E.A.B.Piel at tudelft.nl> wrote:
> Op 12-05-10 07:39, yoni dana schreef:
>> Hi
>> i have implemented and X11 input driver,
>> i need to add support to screen rotation,
>> My questions is
>> How can i detect screen rotation occurred
>> (For Example i use xrandr -o left )
> I think you can do this in a X client which listens to the
> XRRScreenChangeNotify event on the root window. See the Xrandr(3) man
> page for more info. Then, your client can request a change of
> orientation to the input via an input property.
>
> Eric
>



More information about the xorg mailing list