Gentoo Archives: gentoo-user

From: Valmor de Almeida <val.gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] mouse button mapping with evdev+hal+xorg-1.5.3
Date: Fri, 08 May 2009 19:46:55
Message-Id: 4A048C18.4010106@gmail.com
1 Hello,
2
3 After an evdev+hal+xorg-1.5.3 upgrade, I suppose I don't need a input
4 device section for a mouse in my xorg.conf. (I do need xorg.conf so I
5 can get an external monitor working with my laptop correctly). However I
6 would like to reverse the order of the buttons and this old xorg.conf
7 section does not do it:
8
9 Section "InputDevice"
10 Identifier "Mouse0"
11 Driver "mouse"
12 Option "Protocol" "auto"
13 Option "Device" "/dev/input/mice"
14 Option "ZAxisMapping" "4 5 6 7"
15 Option "ButtonMapping" "3 2 1"
16 EndSection
17
18 My driver now is evdev but how about the device driver line? still
19 /dev/.../mice? or something else out of the lshal output?
20
21 info.product = 'Microsoft Basic Optical Mouse' (string)
22 info.subsystem = 'input' (string)
23 info.udi =
24 '/org/freedesktop/Hal/devices/usb_device_45e_83_noserial_if0_logicaldev_input'
25 (string)
26 input.device = '/dev/input/event7' (string)
27
28 Thanks,
29
30 --
31 Valmor

Replies

Subject Author
[gentoo-user] Re: mouse button mapping with evdev+hal+xorg-1.5.3 Valmor de Almeida <val.gentoo@×××××.com>