Here is how I got my G7 Logitech mouse to kick butt! I'm not sure what is entirely necessary, all I know is that it works the way I want it to This recognizes all keys (in xev, though I'm not sure it ever appeared correctly in there) except for the precision ones + (4) and - (5) on the mouse, but they were already working for me. I hope this helps everyone out there, because it took me staying up till 2:30 in the am to figure out.
note: That Device portion above is all one line, copy and paste kids.
Identifier "Logitech G7"
Option "Name" "Logitech USB Receiver"
Option "HWHEELRelativeAxisButtons" "7 6"
Option "Device" "/dev/input/by-id/usb-Logitech_USB_Receiver-event-mouse"
#then my server layout section looks like this
I'm not sure if this part is needed (but it is late, and it works this way, anyway the part that is changed/added was the Inputdevice "blahblahblah" part
Identifier "Default Layout"
screen 0 "Default Screen" 0 0
Inputdevice "Logitech G7"
Ok, so save that xorg and restart udev, and reload your session (this is all explained more thoroughly in the first few lines of the very first post)
And finally I installed keybind from the first few lines of this post. Where my actual keybind file looked like this
This gets the tilt on the mouse wheel all Hunky Dory with moving forward and backwards, and sets the thumb button to go to your home page.
"/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Left]""
m:0x0 + b:7
"/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Right]""
m:0x0 + b:6
"/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Home]""
m:0x0 + b:8
I didn't bother doing the "cruise" feature because I think it is dumb. If you want to bind it like the others it is the 2nd button on the mouse. Best of luck!
Also, from experience: Having CorePointer in my xorg.conf forced ubuntu to ignore my monitor settings... so yeah, it was fun working my way out of that hole repeatedly.
For reference my computer looks like the following:
compaq keyboard mouse duo where i only use the keyboard (wireless)
logitech g7 mouse (actually had two spots in the cat file)
Compiz and Emerald are on there too making things difficult
Monitor: Dell E172FP