'---------------
'startmouseinput - Initializes and starts the mouse input.
'mousex - Returns the mouse X axis location for the current screen resolution.
'mousey - Returns the mouse Y axis location for the current screen resolution.
'mbuttondown - Returns the mouse button being pressed. Constants = LeftMouseButton, RightMouseButton, MouseButton3, MouseButton4, and MouseButton5.
'mscrollwheel - Returns mouse scrollwheel clicks, starts at zero and can go both positive and negative.
'mresetscrollwheel - Reset the mouse scrollwheel to zero.
'mshowcursor - Shows the mouse cursor.
'mhidecursor - Hides the mouse cursor.
'
'JOYSTICK/CONTROLLER FUNCTIONS
'-----------------------------
'startjoystickinput - Initializes and starts the joystick input.
'jxaxispresent - Returns True or False, if the joystick has X axis capabilities.
'jyaxispresent - Returns True or False, if the joystick has Y axis capabilities.
'jzaxispresent - Returns True or False, if the joystick has Z axis capabilities.
'jxrotationpresent - Returns True or False, if the joystick has X rotation capabilities.
'jyrotationpresent - Returns True or False, if the joystick has Y rotation capabilities.
'jzrotationpresent - Returns True or False, if the joystick has Z rotation capabilities.
'jslider0present - Returns True or False, if the joystick has Slider 0 capabilities.
'jslider1present - Returns True or False, if the joystick has Slider 1 capabilities.
'jpov0present - Returns True or False, if the joystick has Point Of View 0 capabilities.
'jpov1present - Returns True or False, if the joystick has Point Of View 1 capabilities.
'jpov2present - Returns True or False, if the joystick has Point Of View 2 capabilities.
'jpov3present - Returns True or False, if the joystick has Point Of View 3 capabilities.
'jxaxis - Returns the joystick X axis value.
'jyaxis - Returns the joystick Y axis value.
'jzaxis - Returns the joystick Z axis value.
'jxrotation - Returns the joystick X rotation value.
'jyrotation - Returns the joystick Y rotation value.
'jzrotation - Returns the joystick Z rotation value.
'jslider0 - Returns the joystick slider 0 value.
'jslider1 - Returns the joystick slider 1 value.
'jpov0 - Returns the joystick Point Of View 0 value.
'jpov1 - Returns the joystick Point Of View 1 value.
'jpov2 - Returns the joystick Point Of View 2 value.
'jpov3 - Returns the joystick Point Of View 3 value.
'jbuttonpressed(24) - Is an array that represents 24 possible buttons on a joystick. Returns 0 or 1 for off and on.
'
'BOTH
'----
'endmousejoystickinput - Ends the input session.
If you want to give it a go, download this zip file. It contains the installer for the plugin, run Setup.exe. There is a demo table and a .vbs file, they need to be together in the same folder. You can always uninstall the plugin through Add/Remove programs in Control Panel (Windows Vista and Windows 7 users, you know how to remove programs I hope).
Right now the demo table uses the X and Y mouse for nudging, right and left buttons for flippers, and push the scrollwheel like a button for the plunger. It also has the joystick configured for a MS Sidewinder Freestyle Pro, the motion sensor nudges, the trigger buttons do the flippers, and the A button does the plunger. It will probably work with other joysticks, I just don't know the button layout and unless it has a motion sensor, the nudging will probably be linked to the gamepad or joystick control.
If you check this out, please give me some feedback.






Top



















are all trademarks of VPFORUMS.