..oo newMouse oo..

by tao|Mad Monk

- description -

rewrite of the mouse configuration functions to enable greater functionality in the mouse.
basically what i'm doing is making the mouse z-axis binding more closely resemble the keyboard
binding.  this should facilitate scriptable additions to the mousewheel functionality without
causing conflicts.  and while i was at it, i redid the mouse config dialog to simplify
binding to meta+mousewheel

in the context of this script it is straightforward to add new options to the z-axis menu in a 
fashion similar to adding keybinds to OptionsDlg::onWake, ie to add a new z-axis option you 
would use the following syntax in a script:

function MouseConfigDlg::buildZActionMenu()
{
	parent::buildZActionMenu();
	$MouseRemapName[$MouseRemapCount] = "<your function description>";
	$MouseRemapCmd[$MouseRemapCount] = "<your function name>";
	$MouseRemapCount++;
}

adding a function in this fashion will add the option to ALL of the meta+mousewheel dropdowns as 
well.  also note that there is no flag needed to prevent multiple additions of a menu item.

- bugs -

one person reported a conflict with binding the 4th and 5th buttons on his mouse.  apparently
accessing the mouse config dialog would reset those buttons.  i don't understand what is doing 
this since the only parts of the mouse i touch are the x, y, and z axes.
