cute mouse http://cutemouse.sourceforge.net/
supports the wheel. Wheel programming info is included in the v2.0 packages.
it is open source.you'd better see it by yourself.
Notice: Normal api don't support the wheel. That is mean:
no all mouse drivers supports the wheel.so please choice the driver.