Coding a macro

Discuss everything to do with GIMX here
Post Reply
Wubxxi-
Posts: 12
Joined: Wed May 30, 2018 8:49 pm

Coding a macro

Post by Wubxxi- »

Hello, I need help with some coding for a macro. I read the whole page about how to use and make one about ten times and still haven't gotten the hang of it, also im quite new to coding besides arduino coding but this makes little sense to me. I am currently just trying to make a macro for rapid fire. Don't laugh but this is what i have so far.

MACRO F1
TRIGGER MBUTTONDOWN
MACRO MBUTTONDOWN BUTTON_LEFT
DELAY 100
MBUTTONUP
MBUTTONDOWN BUTTON_LEFT
MBUTTONUP
(Its copied out of my notepad )
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Coding a macro

Post by Matlo »

Hello,
Did you read the following section?
https://gimx.fr/wiki/index.php?title=Ma ... fire_macro
GIMX creator
Wubxxi-
Posts: 12
Joined: Wed May 30, 2018 8:49 pm

Re: Coding a macro

Post by Wubxxi- »

Yes i did. Sorry if the coding makes no sense. Im just a noob at it. Would you mind helping me on how it should be written? I read the rapid fire macro forum a bunch if times and still nothing :?:
Wubxxi-
Posts: 12
Joined: Wed May 30, 2018 8:49 pm

Re: Coding a macro

Post by Wubxxi- »

I've still haven't completed writing a working macro... I do not know what I've done wrong or what I haven't done that would enable it to work. I've read the forum for how to compose a macro and apply it but still no luck):
Would any one be nice enough to send me a Pre-written macro code? IT would be a really helpful thing if someone made a video or two about how to write and apply a macro.
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Coding a macro

Post by Matlo »

Best way to get some help is to post a log file as requested in support section rules. It contains a lot of details about your setup and it really helps for diagnosing issues.
GIMX creator
Wubxxi-
Posts: 12
Joined: Wed May 30, 2018 8:49 pm

Re: Coding a macro

Post by Wubxxi- »

can you paste a anti recoil macro so that all i need to do is fine tune the MAXIS line and save it?
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Coding a macro

Post by Matlo »

GIMX creator
Wubxxi-
Posts: 12
Joined: Wed May 30, 2018 8:49 pm

Re: Coding a macro

Post by Wubxxi- »

Is there a way to code a macro as a walk button? So instead of full motion or no motion on keyboard. A macro that inputs half of an analog sticks full range of motion.
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Coding a macro

Post by Matlo »

No need for a macro, use axis intensities.
https://gimx.fr/wiki/index.php?title=Co ... verall_tab
GIMX creator
Post Reply