You are not logged in.

#1 2010-01-29 20:55:35

normman
Member
Registered: 2009-04-07
Posts: 26

Invert Mouse

I have a Dell Mini 9 with a synaptic trackpad.  I use xrandr to rotate the screen, but the trackpad orientation does not change.  That is, when I attempt to move the mouse up, it goes right; when I attempt to move the mouse right, it goes down.  I think what I need to do is invert the mouse axis (please correct me if I'm wrong).  Could anyone please point me in the right direction?  How would I do this?

Thanks.

Last edited by normman (2010-01-29 20:57:47)

Offline

#2 2010-01-30 12:09:16

fumbles
Member
Registered: 2006-12-22
Posts: 246

Re: Invert Mouse

In the section Section "InputDevice" in your /etc/X11/xorg.conf

Add the following where appropriate:

Option "FlipXY" "boolean"
Enable/disable swapping the X and Y axes. This transformation is applied after the InvX, InvY and AngleOffset transformations. Default: off.
Option "InvX" "boolean"
Invert the X axis. Default: off.
Option "InvY" "boolean"
Invert the Y axis. Default: off.

Something like:

...
Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "ZAxisMapping" "4 5 6 7"
    Option         "FlipXY" "True"
EndSection
...

I am not sure if you will need InvX and/or InvY or not, but you can play around with it.

Last edited by fumbles (2010-01-30 12:16:58)

Offline

#3 2010-01-30 13:03:49

normman
Member
Registered: 2009-04-07
Posts: 26

Re: Invert Mouse

Thanks, but I should have mentiioned that I'm not using a xorg.conf.  I assume then that I need to put the InvX and InvY in one of my hal fdi files.  I have tried to edit them but to no avail.  Does anyone know which fdi file I should edit and how to write this?

Last edited by normman (2010-01-30 13:04:14)

Offline

Board footer

Powered by FluxBB