Default one is Ctrl. How can I change to load it with Q key?
How does CE recognize keyboard keys?
I have found this [Link]
How do I create hold Q key instead of Ctrl?
Virtual key code of Q is 81. But if I change the line push 81 / /Q nothing happens in the game.
Code: Select all
pushad
push 11 //Ctrl
call GetAsyncKeyState
shr ax,#15
cmp ax,1
popad
jne originalcode
fstp st(0)
fldz