Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Detecting shift with wait for key
#1
Code:
Copy      Help
[code]rep
,int input=wait(0 KF)
,out GetMod
,out GetAsyncKeyState(VK_LSHIFT)
,out GetKeyState(VK_LSHIFT)
,out RealGetKeyState(VK_LSHIFT)
,if (input = 119) ;; end on f8
,,break
,key (input)
[/code]

How can I detect if shift is down when the key is imputted.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)