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 

joytokey toggle script

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
jamestr



Joined: 05 Apr 2004
Posts: 96
Location: Connecticut USA

PostPosted: Sun Jun 27, 2004 2:21 pm    Post subject: joytokey toggle script Reply with quote

This program http://hp.vector.co.jp/authors/VA016823/joytokey/english.html
supports multiple joystick mapping configurations.

This AHK script will switch to the secondary config, when the spacebar is held down!






Code:
#HotkeyInterval 1000       ;     default 2000
#MaxHotkeysPerInterval 250    ; default 5
!r::reload

space::               ;;toggle joytokey config
ControlSend, TListBox1, {down} ,JoyToKey
Loop
{
   getkeystate, state, space, P
      if state = U
             {
             ControlSend, TListBox1, {up} ,JoyToKey
             break
             }
          
 sleep 50
 }
 return
[/url]
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions 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