evandevon
Joined: 22 Apr 2008 Posts: 18
|
Posted: Wed May 21, 2008 10:52 am Post subject: Standard Joystick script not consistent |
|
|
EDIT: When I use the code in say, firefox to scroll the page it acts like I've only tapped the up button once then stops. But if I open up notepad and press '1' the script will keypress 'up' continually fine without printing 1. Got some good working code now from
http://www.autohotkey.com/forum/viewtopic.php?t=30781&highlight=joystick
Hi Forum Dwellers
I want the down press and hold of the number one button to be just like the downpress and hold of the up key. Sounds simple?
Here's some code from the remapping a Joystick to arrow page
| Code: |
1::
Send {Left down}
KeyWait 1
Send {Left up}
return
|
But what it sends is up,1,1,1,1,1,1,1,1,1 - I saw this using keyhistory but I can't seem to get keyhistory to work again since to confirm.
What the heck? What am I doing wrong?
Do I have to use a keyboardhook or something? Is this hook uninstalled once the script is terminated? Do I need to have admin rights? Evs[/url] _________________ Inventing problems that need solutions... |
|