I am trying to detect whenever a specific key is released, without focusing on the application.
I use GetAsyncKeyState, but it detects whenever the key is beeing pressed and not when it is released.
I am trying to detect whenever a specific key is released, without focusing on the application.
I use GetAsyncKeyState, but it detects whenever the key is beeing pressed and not when it is released.
If (GetAsyncKeyState(&H48) And &H8000) = 0 Then '0x48 is the "H" key which is up
'your code
End If
for key codes Virtual-Key Codes
valter