jamestr
Joined: 05 Apr 2004 Posts: 96 Location: Connecticut USA
|
Posted: Sun Jun 27, 2004 2:21 pm Post subject: joytokey toggle script |
|
|
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] |
|