Jump to content
LaunchBox Community Forums

ccs64 close with joypad


orac31

Recommended Posts

LB's Controller Automation close function doesn't work with CCS64. I made an AHK script to do it. I have more functions set for navigating CCS64 via a controller in my script - I can paste the whole script when I get home tonight, but this should take care of the exit part. Put this in the AHK script tab for your CCS64 emulator entry in LB. You may need to change the number for the joystick - 1Joy5 - the first number indicates the joystick number. If you have multiple connected at a time it may be a different number. This script will make it exit when you hold down Back + Left Bumper on a 360 controller.

#NoEnv

1Joy5:: ;you have to press 1Joy7 first

If !GetKeyState("1Joy7")

Return
   SetKeyDelay, -1, 110
send {alt down}
send {F4}
send {alt up}

Return

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...