evdev for mice

Pavel Rojtberg pavel at madman2k.net
Fri Aug 25 17:34:53 BST 2006


David Balazic wrote:
> Pavel Rojtberg wrote :
> 
>> I dont know if its already to ask (again) for it, but have 
>> you already 
>> considered using evdev for mice?
>> How to enable additional mouse buttons is a question I 
>> regularly have to 
>> answer, and now I wonder if the "fix" could be adapted.
>>
>> for evdev all you need is:
>>
>> Section "InputDevice"
>> 	Identifier  "Configured Mouse"
>> 	Driver      "evdev"
>> 	Option	    "CorePointer"
>> 	Option	    "Phys" "usb-0000:00:02.1-2/input0"
> 
> Isn't this "too hardcoded" ???
> 
>> EndSection
>>
> 
you can also specify the device by name like:
Option	    "Name" "Logitech USB-PS/2 Optical Mouse"

for more details see the evdev manpage

Pavel



More information about the ubuntu-devel mailing list