Code: Select all
Code: Select all
~1joy1::
Send {sc036 down}
keywait, 1joy1
Send {sc036 up}
return
After sending command "send {sc036 down}", command "send {sc036 up}" is executed even 1joy1 key is still pressed.
Example 2:
Code: Select all
~1joy4::
SendInput {sc036 down}
keywait, 1joy4
SendInput {sc036 up}
return
Explanation:
After sending command "sendinput {sc036 up}", this command like is replaced with sendinput down. So, instead of sending "SendInput {sc036 up} " at the end of code, we hava again sending "SendInput {sc036 down} ". Even 1joy4 key is released, rshift is still pressed.
Commands for lshift with sc code work normal, I have problem with right shift and sc code.