macro recoil ?
Re: macro recoil ?
GIMX creator
Re: macro recoil ?
I did the code, and it works pretty well.
Your macro will have to look like this:
The first macro generates a mouse movement to the down (it loops).
The second macro starts the first when the left mouse button is pressed.
The third stops the first as soon as the left mouse button is released.
Your macro will have to look like this:
Code: Select all
MACRO KEYDOWN p
MAXIS 1 25
KEYDOWN p
MACRO MBUTTONDOWN BUTTON_LEFT
KEYDOWN p
MACRO MBUTTONUP BUTTON_LEFT
KEYDOWN p
The second macro starts the first when the left mouse button is pressed.
The third stops the first as soon as the left mouse button is released.
GIMX creator
Re: macro recoil ?
Thank you!! I'll try it when i get home. I was trying to program my G500 to do this, but i don't know if the move relative function actually send a raw movement or just a pixel movement.
Re: macro recoil ?
Is there a way to use two conditions to start the macro? Or a way use a condition inside another condition?
Something like:
or :
Something like:
Code: Select all
MACRO KEYDOWN p
MAXIS 1 25
KEYDOWN p
MACRO MBUTTONDOWN BUTTON_LEFT & BUTTON_RIGHT
KEYDOWN p
MACRO MBUTTONUP BUTTON_LEFT
KEYUP p
Code: Select all
MACRO KEYDOWN p
MAXIS 1 25
KEYDOWN p
MACRO MBUTTONDOWN BUTTON_RIGHT
MACRO MBUTTONDOWN BUTTON_LEFT
KEYDOWN p
MACRO MBUTTONUP BUTTON_LEFT
KEYUP p
Re: macro recoil ?
GIMX creator
Re: macro recoil ?
Okay, i updated the macro.c file, on GIMX>core, with the changes but the command doesn't work, probably because i'm using GIMX 0.51 on Ubuntu 11.1, i don't know. I tested another simple press key macro and it worked.
I'll upgrade my Ubuntu later and test.
I'll upgrade my Ubuntu later and test.
Re: macro recoil ?
You better should install GIMX from the sources in Ubuntu 11.10.
http://gimx.fr/wiki/index.php?title=Dev ... t_on_Linux
http://gimx.fr/wiki/index.php?title=Dev ... t_on_Linux
GIMX creator
Re: macro recoil ?
Hey Matlo, really thanks! It was too late... i've already installed the Ubuntu 12.04, but, anyway i managed to install from the source and it worked.
Re: macro recoil ?
But now i have latency issues, and even random crashes after a few seconds, i read many topics about the issue, tried setting the flush timeout to 16. Nothing...
I gave you some feedback at issue 170.
http://code.google.com/p/diyps3controll ... ail?id=170
I gave you some feedback at issue 170.
http://code.google.com/p/diyps3controll ... ail?id=170
Re: macro recoil ?
As said on the wiki, you should use Ubuntu 11.10 if you have latency issues with later releases.
GIMX creator