You have to revert your system to default beforehand or it won't work.
You will get incorrect numbers as a result. And, you cannot do it properly or have it work when you are using xmodmap methods.
Why would you grep by property id? You should grep by device id.
The list of properties in the xinput output is the same with or without xmodmap. I have tried to do xinput test after I have rebooted without xmodmap setting done. That is exactly the reason why I fallback to xmodmap instead of using my old nf as only evdev supports multiple buttons. I am currently using a high end Logitech mouse that have multi-programmable buttons. Methods to do this per user can be found elsewhere on the internet.īutton Labels (285): "Button Left" (143), "Button Middle" (144), "Button Right" (145), "Button Wheel Up" (146), "Button Wheel Down" (147), "Button Horiz Wheel Left" (148), "Button Horiz Wheel Right" (149), "Button Side" (271), "Button Extra" (272), "Button Forward" (273), "Button Back" (274), "Button Task" (275), "Button Unknown" (260), "Button Unknown" (260), "Button Unknown" (260), "Button Unknown" (260), "Button Unknown" (260), "Button Unknown" (260), "Button Unknown" (260), "Button Unknown" (260), "Button Unknown" (260), "Button Unknown" (260), "Button Unknown" (260), "Button Unknown" (260) This method also will be set system wide, so you should be aware of that. This should be extendable to a touch pad device as well as the mouse. This method fixes that issue and should work even in rawhide, without any freezing problems.
SCROLL REVERSER NOT WORKING DRIVER
If you are using the method that has the nf file in /etc/X11/ you will likely hit that same bug I did once you upgrade to Fedora 21 (or perhaps earlier if the Evdev driver obsoletes the earlier driver in previous versions of Fedora as it does in rawhide). I found that my mouse cursor would freeze and the mouse become unusable. I had a serious problem with previous methods used to accomplish a working Natural Scrolling/Reverse Scrolling with my mouse that began with obsoleting of the xorg-x11-drv-mouse driver.
SCROLL REVERSER NOT WORKING UPDATE
(Some mice, such as the Dell PixArt Mouse, do not have this property I will post an update for that mouse below, as soon as I figure it out.) This has been tested to work even in rawhide. This is for Microsoft Mouse, or for any other mouse that has the "Scrolling Distance" property.