This option tells the X server the number of buttons on the mouse. Currently there is no reliable way to automatically detect the correct number. This option is the only means for the X server to obtain it. The default value is three.
Note that if you intend to assign Z axis movement to button events
using the ZAxisMapping
option below, you need to take account
of those buttons into N
too.
Buttons N