Mouse Support in XFree86 : XF86Config Options : ZAxisMappping
Previous: Buttons
Next: Resolution

## 5.2. ZAxisMappping

This option maps the Z axis (wheel) motion to a pair of buttons or to another axis.

    	ZAxisMapping X
    	ZAxisMapping Y
    	ZAxisMapping N M

The first example will map the Z axis motion to the X axis motion. Whenever the user moves the wheel/roller, its movement is reported as the X axis motion. When the wheel/roller stays still, the real X axis motion is reported as is. The last example will map negative Z axis motion to the button `N` and positive Z axis motion to the button `M`. If this option is used and the buttons `N` or `M` actually exists in the mouse, their actions won't be detected by the X server.

Currently this option can not be set in the `XF86Setup` program. You need to edit the `XF86Config` file by hand to add this option.

Mouse Support in XFree86 : XF86Config Options : ZAxisMappping
Previous: Buttons
Next: Resolution