MacNean Tyrrell wrote:
> Don't know if any of you could help out. I've posted in the ubuntu forums
> to no avail, but if you could help or point me to a more knowledgeable
> mailinglist/forum i would appreciate that too.
>
> I'm trying to invert the Y axis on my mouse (mainly because Perfect World
> Int. doesn't have an ability to do this in game) and I'm old school gamer,
> so I can't function without it inverted. Anyways, so before 8.10 (at least
> i think so) you would just add this line to your xorg.conf file in the input
> device section:
>
> Option InvY "true"
>
> Now xorg or something uses HAL and you have to create an FDI file (which
> i've done):
>
> <?xml version="1.0" encoding="UTF-8"?>
> <deviceinfo version="0.2">
> <device>
> <match key="input.x11_driver" contains="mouse">
> <merge key="input.x11_options.InvY" type="bool">true</merge>
> </match>
> </device>
> </deviceinfo>
>
>
> and this is seen by running lshal:
>
> for my touchpad:
>
> input.x11_driver = 'synaptics' (string)
> input.x11_options.InvY = true (bool)
>
>
>
> and then my usb mouse:
>
> < udi =
> '/org/freedesktop/Hal/devices/usb_device_46d_c51b_noserial_if0_logicaldev_input'
> < info.capabilities = {'input', 'input.mouse'} (string list)
> < info.category = 'input' (string)
> < info.parent =
> '/org/freedesktop/Hal/devices/usb_device_46d_c51b_noserial_if0'
> (string)
> < info.product = 'Logitech USB Receiver' (string)
> < info.subsystem = 'input' (string)
> < info.udi =
> '/org/freedesktop/Hal/devices/usb_device_46d_c51b_noserial_if0_logicaldev_input'
> (string)
> < input.device = '/dev/input/event11' (string)
> < input.originating_device =
> '/org/freedesktop/Hal/devices/usb_device_46d_c51b_noserial_if0'
> (string)
> < input.product = 'Logitech USB Receiver' (string)
> < input.x11_driver = 'evdev' (string)
> < input.x11_options.InvY = true (bool)
> < linux.device_file = '/dev/input/event11' (string)
> < linux.hotplug_type = 2 (0x2) (int)
> < linux.subsystem = 'input' (string)
> < linux.sysfs_path =
> '/sys/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1:1.0/input/input12/event11'
> (string)
>
>
>
> So it should be working, but it doesn't invert the mouse. Anyone know what
> the problem is?
Only work with one input device at a time. By default, X will use
/dev/input/mice , which consolidates all the mice into a single device
selection. Force X to use only a single mouse by putting the following
in your xorg.conf file:
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Device" "/dev/input/mouse1"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "CorePointer"
Option "InvY" "true"
EndSection
You will probably have to play around with the /dev/input/mouseN to
figure out which mouse you want. I recommend using a standard PS/2 mouse
to start with.
Please note that you have to include the "InvY" option in quotes as I
have shown. You did not so I don't know if that is a typo or an actual
cut-and-paste from your real xorg.conf.
Once you have done that, start X and look at your log file in
/var/log/Xorg.0.log and see that it picks up the option on the mouse. If
it doesn't, there is something else going on.
Gus
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie