Peter Hutterer wrote: > On Fri, Oct 24, 2008 at 08:50:20AM +0200, Søren Hauberg wrote: >> 2008/10/24 Peter Hutterer <[EMAIL PROTECTED]>: >>> Touchscreen support (courtesy of Søren) enables devices that report only >>> BTN_TOUCH capability, but no BTN_LEFT, BTN_RIGHT, etc. >> Great! The only major thing left is then to be able to calibrate a >> touch screen. I haven't been able to come up with anything better than >> my original patch, which essentially did a >> >> if (is_touch_screen) >> transform_data_according_to_calibration () >> >> for every event. My impression is that you don't like this approach. >> Is that correct? > > I wasn't happy with it because I wanted to avoid double scaling (once in the > driver, once in the server). But as I haven't found a better way to get the > same thing (not w/o changing the server and XI), I'm willing to put it in. > Need to have a look at it again though.
While I know zilch about all this stuff, would the input redirection stuff help here? I read the article recently about how compiz is using this approach (albeit with patches that may or may not be the final way to do it). http://smspillaz.wordpress.com/2008/10/21/input-redirection-update/ -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mandriva Linux Contributor [http://www.mandriva.com/] PulseAudio Hacker [http://www.pulseaudio.org/] Trac Hacker [http://trac.edgewall.org/] _______________________________________________ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg