New version of code to detect whether a wheel is involved, or a trackpad.

It was compiled with "deploy target 10.6" tested on macbook with 10.8.
More tests follow quick.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53591 954f8c5b-7b00-dc11-b283-0030488c597c