Touchscreen troubles

Petr Štetiar ynezz at
Mon Dec 14 00:48:17 PST 2009

Peter Hutterer <peter.hutterer at> [2009-12-14 10:07:04]:

> in your case, coordinates aren't strictly rectangular. top right has x of
> 3633, whereas bottom right has an x of 1693, approximately half of it. the Y
> coordinate is similar though not quite as extreme.
> This explains the cutoff, from evdev's POV the x coordinate 2697 (right-hand
> edge on your diagram) is a bit over half-way into the area (assuming 3633 as
> max). evdev would map coordinates in the bottom right half to some 'random'
> coordinates into the top left half.

Yes, seems so.

> evdev doesn't have any facilities yet to cope with the scaling needed for
> this device. You'd have to start implementing your own mapping system and
> plug it into evdev. sorry.

Ok, I'll try :) Thanks.

-- ynezz

More information about the xorg mailing list