Valmor de Almeida wrote: > Hello, > > After an evdev+hal+xorg-1.5.3 upgrade, I suppose I don't need a input > device section for a mouse in my xorg.conf. (I do need xorg.conf so I > can get an external monitor working with my laptop correctly). However I > would like to reverse the order of the buttons and this old xorg.conf > section does not do it: > > Section "InputDevice" > Identifier "Mouse0" > Driver "mouse" > Option "Protocol" "auto" > Option "Device" "/dev/input/mice" > Option "ZAxisMapping" "4 5 6 7" > Option "ButtonMapping" "3 2 1" > EndSection > > My driver now is evdev but how about the device driver line? still > /dev/.../mice? or something else out of the lshal output? > > info.product = 'Microsoft Basic Optical Mouse' (string) > info.subsystem = 'input' (string) > info.udi = > '/org/freedesktop/Hal/devices/usb_device_45e_83_noserial_if0_logicaldev_input' > (string) > input.device = '/dev/input/event7' (string) > > Thanks, > > -- > Valmor >
Okay. If I do Driver "evdev" Option "Device" "/dev/input/event7" it works. However the touchpad which is event9 does not reverse buttons (as expected). Do I need to configure a second input device and point it to the appropriate event? Is this the right way of configuring evdev/xorg through hal? Thanks, -- Valmor

