MouseClick, right, 1, 0, U Release the mouse button. MouseClick, left, 1, 0, U Release the mouse button. Otherwise, the button has been released. Return The button is still, down, so keep waiting. KeyWait, %JoystickPrefix%%ButtonSelect%, D T0.02 KeyWait, %JoystickPrefix%%ButtonRB%, D T0.02 KeyWait, %JoystickPrefix%%ButtonLB%, D T0.02 MouseClick, middle, 1, 0, D Hold down the right mouse button. MouseClick, right, 1, 0, D Hold down the right mouse button. MouseClick, left, 1, 0, D Hold down the left mouse button. SetMouseDelay, -1 Makes movement smoother. effectively prevent mouse-dragging with the joystick. WatchJoystick quasi-thread beneath the wait-for-button-up thread, which would The subroutines below do not use KeyWait because that would sometimes trap the IfInString, JoyInfo, P Joystick has POV control, so use it as a mouse wheel. GetKeyState, JoyInfo, %JoystickNumber%JoyInfo SetTimer, WatchJoystick, 10 Monitor the movement of the joystick. Calculate the axis displacements that are needed to start moving the cursor: Hotkey, %JoystickPrefix%%ButtonStart%, ButtonStart Hotkey, %JoystickPrefix%%ButtonSelect%, ButtonSelect Hotkey, %JoystickPrefix%%ButtonRB%, ButtonRB Hotkey, %JoystickPrefix%%ButtonLB%, ButtonLB Hotkey, %JoystickPrefix%%ButtonY%, ButtonY Hotkey, %JoystickPrefix%%ButtonMiddle%, ButtonMiddle Hotkey, %JoystickPrefix%%ButtonRight%, ButtonRight Hotkey, %JoystickPrefix%%ButtonLeft%, ButtonLeft to alter the basic nature of the script. END OF CONFIG SECTION - Don't change anything below this point unless you want If your system has more than one joystick, increase this value to use a joystick Decrease it to have the wheel turn faster: following value is the number of milliseconds between turns of the wheel. If your joystick has a POV control, you can use it as a mouse wheel. Use the Joystick Test Script to find out your joystick's numbers more easily. the left, right, and middle mouse buttons. Change these values to use joystick button numbers other than 1, 2, and 3 for move vertically in the direction opposite the stick: Change the following to true to invert the Y-axis, which causes the mouse to and centered joystick could use a value of 1: ensuring it's properly centered - to avoid cursor drift. However, you may need to calibrate your joystick Decrease the following value to require less joystick displacement-from-center Increase the following value to make the mouse cursor move faster: Looks like I saved it a while back #SingleInstance force Except I am using dual monitors and it won't let me drag the mouse to my non primary while using the xbox 360 controller. Closing the window will save the hotkeys. Due to wierd things happening if you try to move the script's window with the script (Deadlock until click from normal mouse), you should not unpause the controller until you have closed the window. Start (joy8) pause movement wifirobin 3g (toggles control between controller and normal mouse)Ĭontrol+right click - opens the DPad linker, which assigns hotkeys to Dpad directions (7 assignable hotkeys) - this sets control to normal mouse.
Lots of features PS3 Hack (including entire kbd & mouse)
It is a joystick to mouse script specifically configured to work with an xbox 360 key controller with the windows standard drivers. Also note that in the chart it is called POV not DPad, 0 = up, 9000 = right etcĬontrol+left click - functions the same as Start (joy8), toggles control between controller and actual mouseĬontrol+right click - opens the DPad linker, which assigns hotkeys to Dpad directions (7 assignable hotkeys) - this sets control to normal mouse. Right Stick (joyR and joyU) scrolling (in 2 dimensions =])ĭpad - see THIS CHART. Left Stick (joyX and joyY) mouse movement RSB (joy10) adjust RS sensitivity (longer mouse blur = more sensitive) LSB (joy9) adjust LS sensitivity (longer mouse blur = more sensitive) Start (joy8) pause movement (toggles control between controller and normal mouse)
X (jo圓) middle click (no drag, but an easy fix)īack/Select (joy7) calibrate analog sticks Integrated horizontal and vertical scrolling Lots of features (including entire kbd & mouse) Useful, intuitive hotkeys (including customizable ones) It is a joystick to mouse script specifically configured to work with an xbox 360 controller with the windows standard drivers.