Creating toggle keys in Razer Synapse 3 | Razer Insider
Skip to main content
To create a toggle key in razer synapse 3 you will need to use two seperate keybinds. Here is the method:

1. Create a macro with the key you want to toggle On

2. Export the macro from synapse 3 (exports as an xml file)

3. Use a text editor such as notepad++ to open the file (Any text editor is fine, but more advanced editors make things much easier)

4. The following is a macro for a left click on a mouse as opened in notepad++:



[indent]
code:
<?xml version="1.0" encoding="utf-8"?>
<Macro xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Name>Autoclicker</Name>
<Guid>bb3cd146-955f-4701-b0ed-43639b031c0b</Guid>
<MacroEvents>
<MacroEvent>
<Type>2</Type>
<MouseEvent>
<MouseButton>1</MouseButton>
<State>0</State>
</MouseEvent>
</MacroEvent>
<MacroEvent>
<Type>2</Type>
<MouseEvent>
<MouseButton>1</MouseButton>
<State>1</State>
</MouseEvent>
</MacroEvent>
</MacroEvents>
</Macro>
[/indent]



5. Delete the section that reads to create a macro that holds a left click:

[indent]
code:
<MacroEvent>
<Type>2</Type>
<MouseEvent>
<MouseButton>1</MouseButton>
<State>1</State>
</MouseEvent>
</MacroEvent>


[/indent]

6. Save a copy of the file (do not overwrite).

7. Now to create a macro for releasing the left mouse, re-open the original macro and delete the following section:

[indent]
code:
<MacroEvent>
<Type>2</Type>
<MouseEvent>
<MouseButton>1</MouseButton>
<State>0</State>
</MouseEvent>
</MacroEvent>
[/indent]



8. Save a copy of the macro.

9. Now with the macros you've just created, import the xml files into synapse 3 and assign the button press to one key, and the button release to another key.



Hope that this works for you, unfortunately, razer doesn't currently support this within their editor, but this is a decent work around. Also you do need to use up two seperate keys as far as I can tell, which is another downside. I think it would be cool to have this officially implemented.
Thank you, it help for me.

If there any way set "change profiles" command in macro, that can be only use 1 key to switch maybe.
Nice post!
kwokut
Thank you, it help for me.

If there any way set "change profiles" command in macro, that can be only use 1 key to switch maybe.


I'm curious too now, I'll look into it. I wonder if keybind switching is possible too?