Andbna's Mouse Wheel DLL 

HELP FILE and License Agreement


This DLL requires a registerd version of GameMaker. It should run on both versions 5 and 6.
You must also have DirectX 9.0 or higher to use.


To use, make sure the DLL (MWDLL.dll) is located in the same directory as the executable or GMD/DM6.
Import the file MWscripts.gml into your game.

None of the scripts take any arguments.

Execute the script initMWDLL to initialize this DLL (this MUST be caled before any other function of this DLL.)

At the end of your game to stop using this DLL execute the function deinitMWDLL this MUST becalled to properly shutdown the DLL, release DirectInput and the mouse device!


Use the script: getMW() to get the mouse wheel status. This script returns the TOTAL value of ticks of the mouse wheel since the DLL was initialized and or this function was last called.
The number is positive if the mouse wheel was moved upwards, and negative if moved downwards.
