xinput fails to set set-button-map for use with multiple input devices. Also, 'xinput list' doesn't properly report the the type of devices. Reproducible: Always Steps to Reproduce: run xinput Actual Results: xinput set-button-map MX610-usb-0000:00:1d.2-2/input0 1 8 3 4 5 6 7 2 9 10 11 12 13 14 15 16 17 18 19 20 unable to find device MX610-usb-0000:00:1d.2-2/input0 Expected Results: Returns nothing and buttons are properly mapped.
Created attachment 134565 [details, diff] fix for reported bug I don't really know C, but this patch seems to work. The changes in list.c are not critical to functionality.