On Wed, Dec  3, 2008 at 16:43:29 +0100, Matthias Endres wrote:

> I installed mutouch-driver on lenny successfull, but the Y-axis is 
> inverted; so if i touched on the top of the screen the coursor appear
> on the bottom of the screen. Try to configure "SwapY" in xorg.conf
> without success. I found i bugfix here 
> http://archive.netbsd.se/?ml=xorg-team&a=2008-09&m=8617359
> quote:
> It's line 746 in xf86MuTouch.c I changed from
> 
> cur_y = WORD_ASSEMBLY(start_ptr[3], start_ptr[4]);
> 
> to
> 
> cur_y = (priv->max_y + priv->min_y) - WORD_ASSEMBLY(start_ptr[3],
> start_ptr[4]);
> 
> end quote.

Thanks for your report.

> Section "InputDevice"
>       Identifier "touch"
>       Driver "mutouch"
>       Option "Device" "/dev/ttyS0"
>       Option "Type" "Finger"
>       Option "MinX" "3148"
>       Option "MaxX" "14153"
>       Option "MinY" "3100" 
>       Option "MaxY" "14620"
>       Option "HistorySize" "256"
>       Option "SendCoreEvents" 
>       Option "SwapY" "1"
> EndSection
> 
If you switch the values of MinY and MaxY in the above config file
section, do things work as expected?

Cheers,
Julien



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to