macro recoil ?

Need help? Ask here and someone will help
mikadoryu
Posts: 5
Joined: Mon Nov 26, 2012 7:07 pm

macro recoil ?

Post by mikadoryu »

I wonder if it is possible to make a macro to avoid recoil?
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: macro recoil ?

Post by Matlo »

Try to adapt the rapid fire macro exemple: http://gimx.fr/wiki/index.php?title=Mac ... d_fire.txt

Bind 'p' to rstick down, set the first delay to 10, and adjust the second delay.
It may not work as moving the rstick down during 10ms may be too much (with bluetooth, it's not possible to have lower delays).
GIMX creator
mikadoryu
Posts: 5
Joined: Mon Nov 26, 2012 7:07 pm

Re: macro recoil ?

Post by mikadoryu »

me podrias decir cual seria el nombre del rstick down para poder editar el rapid fire
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: macro recoil ?

Post by Matlo »

Sorry I don't understand Spanish...
GIMX creator
EduardoP
Posts: 21
Joined: Mon May 27, 2013 5:10 pm

Re: macro recoil ?

Post by EduardoP »

Hi, i think he wrote something about what is the syntax for "rstick" (analog) on the macro config, i couldn't find it anywhere. Does it work as "down", "up" or it work with values?
I've been trying to work on this as well.
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: macro recoil ?

Post by Matlo »

It's not possible to directly write controller actions (button square, l2, left stick...).
You have to edit the configuration to bind something to the action (key p to button square, key m to right stick down...), and use this control in the macro (KEY p, KEY m...).

http://gimx.fr/wiki/index.php?title=Macros
GIMX creator
EduardoP
Posts: 21
Joined: Mon May 27, 2013 5:10 pm

Re: macro recoil ?

Post by EduardoP »

Oh, a fast reply!
Ok, it's because i needed to perfectly control the movement of the stick, but i think it won't work because it won't reconize the movement of the mouse while the other bind key ("LEFT" for the rstick left for exemple) is pressed.
I've been thinking, is there a way to make GIMX work with the OS mouse movement? Not the raw movements. In this case it would be easy for me to make a program of this kind.

Changing the subject...
I'll also congratulate you for the project and everything, i didn't introduce myself on the welcome session, but i've been reading the forum for a while, really really well done!
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: macro recoil ?

Post by Matlo »

With 4 keys/buttons you can control a stick in 8 directions, and using at least 1 more key/button to change the stick intensity you can reach up to 127 positions in each direction. This means you can reach up to 1016 stick positions using at least 5 buttons.

Do you really need more precision?

Furthermore, GIMX schedules events very precisely. An external software won't be able to reach the same precision, as it won't be able to synchronize itself with the GIMX refresh period.
GIMX creator
EduardoP
Posts: 21
Joined: Mon May 27, 2013 5:10 pm

Re: macro recoil ?

Post by EduardoP »

Thanks for the reply...
Yeah, it'd be highly accurate if i could move the mouse while the macro is executing rstick movements. I don't know, i'm probably doing something wrong.
I tried here but when using a button that uses Rstick together with the mouse you can just use one or the other. For exemple, i set the LEFT arrow as button Rstick LEFT, while i'm holding the LEFT arrow, GIMX doesn't get my mouse movements together.
In my case i needed to execute something like a "move relative" function, simultaneously with the mouse.
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: macro recoil ?

Post by Matlo »

I see, you are just trying to shift the center of the stick.

I don't think it's actually possible using the current software, but it might be possible in a future version.
I think it's possible to add support for mouse and joystick axes in the macro files.
GIMX creator
Post Reply