Code: Select all
pushad
push 02 //Right mouse button
call GetAsyncKeyState
Code: Select all
pushad
push 02 //Right mouse button
call GetAsyncKeyState
You have to use a different function for the xinput,QuasiMorto wrote: ↑Wed Sep 26, 2018 9:44 pmSorry if this has been asked 1000 times, but Is it possible to change the mouse button to RT xbox controller?Code: Select all
pushad push 02 //Right mouse button call GetAsyncKeyState
XInputGetState
.getXBox360ControllerState
, but it's Lua.Well, you can't set the controller state with CE, but you could use a thread or timer to read the controller state and set the key state.QuasiMorto wrote: ↑Wed Sep 26, 2018 11:37 pmOuch.. That's getting complicated by the minute, the GetAsyncKeyState returns an int and the xinputgestate returns different values. I just wanted to switch this code so I dont have to play with the controler in one hand the mouse on the other hahaha
Users browsing this forum: No registered users