kdrive rotation problems

Harald Radke harryrat at postnuklear.de
Thu Dec 20 08:34:48 PST 2007


>
> Basically I guess besides applying the matrix on the coords, depending on
> coords < 0 the max axis values have to be added to yield correctly
> transformed coords

concrete: in hw/kdrive/src/kinput.c 

KdEnqueuePointerEvent(KdPointerInfo *pi, unsigned long flags, int rx, int ry,
                      int rz)

Adding:
if (x < 0)
        x += matrix[0][2];
    if (y < 0)
        y += matrix[1][2];

right after:
z=rz;

corrected the prob for me


Greez,

Harry



More information about the xorg mailing list