MACRO TRIGGER activate/deactivate

Need help? Ask here and someone will help
Post Reply
shota
Posts: 7
Joined: Sun Jun 15, 2014 10:46 am

MACRO TRIGGER activate/deactivate

Post by shota »

Hello

I am in trouble with macro activate/deactivate.

I want to switch rapidfire macro ON/OFF when pressing Joystick (which is sixaxis controller).
After emulating start, pressing R1 let macro start. It seems OK.
But when I press R3, I cannot switch ON/OFF.

Would you help me, please?
Sorry for my poor English

rapidfire.txt

Code: Select all

MACRO JBUTTONDOWN 11  #R1 bind
TRIGGER JBUTTONDOWN 2 #R3, switch ON/OFF
KEYDOWN t #R1 
DELAY 190
KEYUP t #R1 
DELAY 50
JBUTTONDOWN 11 #MACRO LOOP

MACRO JBUTTONUP 11
TRIGGER JBUTTONDOWN 2 #R3, switch ON/OFF
KEYUP t
JBUTTONDOWN 11
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: MACRO TRIGGER activate/deactivate

Post by Matlo »

Adding an empty macro with a different trigger should work.
GIMX creator
shota
Posts: 7
Joined: Sun Jun 15, 2014 10:46 am

Re: MACRO TRIGGER activate/deactivate

Post by shota »

Thanks Mr.Matlo

I modified like this.
Acutually, "MACRO JBUTTONDOWN 11" is default "inactive".
And after pressing R3, it get become active.

But what I want to do is changing ON/OFF the macro only pressing R3.
Now, I have to push F7 button to inactivate.
Can GIMX do this?

Code: Select all

#this is empty macro
MACRO KEYDOWN i
TRIGGER F7

MACRO JBUTTONDOWN 11  #R1 bind
TRIGGER JBUTTONDOWN 2 #R3, switch ON/OFF
KEYDOWN t #R1 
DELAY 190
KEYUP t #R1 
DELAY 50
JBUTTONDOWN 11 #MACRO LOOP

MACRO JBUTTONUP 11
TRIGGER JBUTTONDOWN 2 #R3, switch ON/OFF
KEYUP t
JBUTTONDOWN 11
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: MACRO TRIGGER activate/deactivate

Post by Matlo »

Not yet. But it should be easy to add this functionality.

I added this in the issue tracker: https://github.com/matlo/GIMX/issues/253
GIMX creator
shota
Posts: 7
Joined: Sun Jun 15, 2014 10:46 am

Re: MACRO TRIGGER activate/deactivate

Post by shota »

Thanks Mr.Matlo (^_^)
I hope that this switch function will be added and thank you for your kind advice!
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: MACRO TRIGGER activate/deactivate

Post by Matlo »

I am thinking about adding two optional directives:

Code: Select all

TOGGLE YES/NO
INIT ON/OFF
GIMX creator
shota
Posts: 7
Joined: Sun Jun 15, 2014 10:46 am

Re: MACRO TRIGGER activate/deactivate

Post by shota »

good idea (^_^)
It seems to be clear.

And I forget telling you that I used "GIMX 1.12".
Could you continue to update for PS3?

Thank you.
Post Reply