On Thu, 08 Apr 2010 17:22:56 +0200, Peter Korsgaard <jac...@sunsite.dk> wrote:

> - Add an XInput property to evdev to assign a screen number / randr
>   output name to a device

Use a window ID to identify the screen; the protocol never uses screen
'numbers'.

> - Add an API to forward this info to the server (xf86XInputSetOutput?)

I don't know how this should work; feel free to try whatever strikes
you, including adding fields to the input device structure
itself. That might be easiest. Just a rectangle that identifies the
region of the screen that the touchscreen is aligned to may suffice,
along with a matrix to do the transforms.

> - Translate the raw coordinates in GetPointerEvents() if that flag is
>   set (POINTER_OUTPUT?), and optionally ignore event if output is
>   disabled.

Sounds reasonable.

-- 
keith.pack...@intel.com

Attachment: pgp2dFEgva4OJ.pgp
Description: PGP signature

_______________________________________________
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to