On Tue, Apr 26, 2016 at 09:31:03 +0200, Harald Dunkel wrote: > On the previous reboot it was 4 and 6 (IIRC), thats the > point of this ticket. And the suggested "pointer:Logitech > USB Receiver" doesn't work either. Not to mention that > there is only one USB receiver plugged in. > > Using xorg.conf to configure the device there was no > problem like this. I could write > > Section "InputDevice" > Identifier "Logitech USB Receiver" > Driver "evdev" > Option "Dev Name" "Logitech USB Receiver" > Option "Device" > "/dev/input/by-id/usb-Logitech_USB_Receiver-event-mouse" > Option "Emulate3Buttons" "yes" > Option "ButtonMapping" "1 8 3 5 4 6 7 2 9 10 11 12 13 14 15 16 17 > 18 19 20" > EndSection > > to configure the mouse. Since this configuration scheme has > been deprecated with xinput2, its the job of /usr/bin/xinput > to take over. > No it's not... You can still configure things in xorg.conf, replace InputDevice with InputClass, remove the "driver", "device" and "dev name" lines, and you can use MatchUSBID or MatchProduct/MatchVendor to select the device. xinput can't do that on the client side.
Cheers, Julien