How to write a simple macro

Post Reply
Videoman18
Posts: 3
Joined: Sun Apr 02, 2017 9:34 pm
Location: USA

How to write a simple macro

Post by Videoman18 » Sun Apr 02, 2017 9:40 pm

Hi, I'm having trouble figuring out how to write a simple macro for the Iris controls. I need it for GTA 5. Left shift + W. If anyone can help me figure out how to write a basic key macro it would be greatly appreciated.
Zathras
Posts: 59
Joined: Thu May 21, 2015 4:09 pm
Location: NY

Re: How to write a simple macro

Post by Zathras » Mon Apr 03, 2017 3:47 pm

Here you are...

Code: Select all

  <MACRO id="ShiftW">
    <MAIN>
      <KEYINPUT behaviour="PRESS" code="0x10"/>
      <WAIT time="100ms"/>
      <KEYINPUT behaviour="PRESS" code="0x57"/>
      <WAIT time="50"/>
      <KEYINPUT behaviour="RELEASE" code="0x57"/>
      <KEYINPUT behaviour="RELEASE" code="0x10"/>
    </MAIN>
  </MACRO>
Videoman18
Posts: 3
Joined: Sun Apr 02, 2017 9:34 pm
Location: USA

Re: How to write a simple macro

Post by Videoman18 » Mon Apr 10, 2017 10:04 pm

Thank you. So much!
Post Reply