AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Standard Joystick script not consistent

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
evandevon



Joined: 22 Apr 2008
Posts: 18

PostPosted: Wed May 21, 2008 10:52 am    Post subject: Standard Joystick script not consistent Reply with quote

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...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group