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 

USB Joystick help

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





PostPosted: Fri Mar 14, 2008 1:02 am    Post subject: USB Joystick help Reply with quote

I'm trying to figure out what the name of the left, right, up and down buttons are on my Joystick. They are not considered one of the 1-12 buttons, they are not considered the X, Y or Z axis, and those are all the AHK site told me how to find out. Since the Arrow keys are not any of these, what are they and what is the script line for each?

When I test the input in the control panel, it is listed in an area called "point of view hat" if that helps. I thought the script would be (for the up key) Joy1 H-up, but this turned out to be false.

Thank you for any help that may come my way and I hope I supplied enough information for anyone who wants to help.
Back to top
Din
Guest





PostPosted: Fri Mar 14, 2008 1:24 am    Post subject: Reply with quote

I'm also using windows Vista if it helps =/
Back to top
Lurker1457



Joined: 10 Mar 2008
Posts: 11

PostPosted: Fri Mar 14, 2008 3:45 am    Post subject: Reply with quote

Code:
SetTimer, PollJoyPOV, 10
PollJoyPOV:
joypov := ( 4500 + GetKeyState("JoyPOV", "p") ) // 4500
Tooltip POV = %joypov%
return

esc::exitapp

Maybe this will help you.
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