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

Macro to alternate button press.

  • February 9, 2019
  • 3 replies
  • 277 views

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; } } --------------------------------------------------------------------------------
Did this topic help you find an answer to your question?
This topic has been closed for comments

3 Replies

Maximusisback
Vanguard
Sounds like a job for AutoHotkey

I would like something like this too, but I have a Nostromo.

Razer_TheFiend
You can already do this using "sequence" option in the macro recorder for Synapse 3. Cheers!

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings