Sigma Guest
|
Posted: Sun Apr 24, 2005 5:34 pm Post subject: Holding jokystick with keys |
|
|
I wrote this:
| Code: |
Loop
{
joy1::
GetKeyState, joyx, JoyX
GetKeyState, joyy, JoyY
if joyx > 77
Send, z
else if joyx < 31
Send, x
else if joyy < 31
Send, c
else if joyy > 77
Send, v
else
send, l
return
joy2::
GetKeyState, joyx, JoyX
GetKeyState, joyy, JoyY
if joyx > 77
Send, b
else if joyx < 31
Send, n
else if joyy < 31
Send, m
else if joyy > 77
Send, q
else
Send, k
return
}
|
Put then I realized that I can't hold these keys while using the joystick. I am new could someone explain how I could hols these keys while pressing the button on the joystick? |
|