Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Joystick/gamepad button triggers
#3
joyGetPosEx is in WINAPI, and should be recognized (becomes blue after run or compile the macro)
Macro Macro2742
Code:
Copy      Help
type JOYINFOEX dwSize dwFlags dwXpos dwYpos dwZpos dwRpos dwUpos dwVpos dwButtons dwButtonNumber dwPOV dwReserved1 dwReserved2 [pack1]
dll winmm #joyGetPosEx uJoyID JOYINFOEX*pji
outx can be changed to out or removed.
Function outx
Code:
Copy      Help
;/
function x
out "0x%X" x


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)