This patch makes mouse buttons transparent to the system. They act just like keyboard keys, which gives the key binding system much more flexibility as to how to use the mouse buttons. This patch also adds next weapon and previous weapon features as keyboard, or mouse wheel selectable options. This patch was applied to the source tree that was available to my Debian Lenny distribution. That version of the source tree is prboom-2.4.7+dfsg. I realize that the current source tree
is at version 2.5, but I hope the changes will integrate well.