Macro to alternate button press. | Razer Insider
Skip to main content
Hi all,



do you guys now if there is a possibility to create a macro for the Razer Trinity which would do something like this:



(Explanation:

If you press a button once it returns f.e. keyboard press "0".

If you press the button the second time it should return f.e. keyboard press "1".

3. time again "0".. then "1".. "0"..."1" etc.)

----------------------------------------------------------------------------

#define bool int

#define TRUE 1

#define FALSE 0



int main()

{



bool button_press = FALSE;

int count = 0;



if (button_press == TRUE && count == 0)

{

count = 1;



printf("Button 1");

return count;

}



if (button_press == TRUE && count == 1)

{

count = 0;



printf("Button 0");

return count;

}

}

--------------------------------------------------------------------------------
Sounds like a job for AutoHotkey
I would like something like this too, but I have a Nostromo.
You can already do this using "sequence" option in the macro recorder for Synapse 3. Cheers!