Configure the scroll wheel functionality for a Logitech Marble mouse on Fedora 17

I recently purchased a Logitech Trackman Marble mouse and was attempting to replicate the usual mouse scroll wheel functionality. Surely a giant track wheel such as this was born to scroll! As a result of some quick google searches and some experimentation, the following directions configure the Logitech Trackman Marble mouse on Fedora 17 (possibly also 16, but this is untested):

1. As root, create a file called 50-marblemouse.conf inĀ /usr/share/X11/xorg.conf.d/

2. Copy and paste the following configuration for your Logitech Trackman Marble mouse into the 50-marblemouse.conf file:

Section “InputClass”
Identifier “Marble Mouse”
MatchProduct “Logitech USB Trackball”
MatchIsPointer “on”
MatchDevicePath “/dev/input/event*”
Driver “evdev”
Option “ButtonMapping” “1 8 3 4 5 6 7 2 9”
Option “EmulateWheel” “true”
Option “EmulateWheelButton” “8”
Option “ZAxisMapping” “4 5”
Option “XAxisMapping” “6 7”
Option “Emulate3Buttons” “false”

3. Reboot.

4. Profit!

I’m not sure how useful this information is but for the small set of people who use both a recent version of Fedora and this particular mouse, I hope this helps.