[PATCHv3] dix: add 3x3 transformation matrix xinput property for multi-head handling

Peter Korsgaard peter.korsgaard at barco.com
Fri May 28 00:06:30 PDT 2010


>>>>> "PH" == Peter Hutterer <peter.hutterer at who-t.net> writes:

>> left:            right:
>> [ 0.5 0 0 ]     [ 0.5 0 0.5 ]
>> [ 0   1 0 ]     [ 0   1 0   ]
>> [ 0   0 1 ]     [ 0   0 0   ]
PH>                           ^ typo, fixed this up

Ahh yes, thanks.

>> 
>> Which can be done using xinput:
>> 
>> xinput set-prop <left> --type=float "Coordinate Transformation Matrix" \
>> 0.5 0 0 0 1 0 0 0 1
>> 
>> xinput set-prop <right> --type=float "Coordinate Transformation Matrix" \
>> 0.5 0 0.5 0 1 0 0 0 1
>> 
>> Likewise more complication setups involving more heads, rotation or
>> different resolution can be handled.
>> 
>> Signed-off-by: Peter Korsgaard <peter.korsgaard at barco.com>

PH> thanks, I've finally had time to merge and test this. It's in my tree now,
PH> I'll get it pulled by keith asap.

Great, thanks!

-- 
Bye, Peter Korsgaard


DISCLAIMER:
Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.


More information about the xorg-devel mailing list