Dismiss Notice
Some Razer services have been impacted due to the unique circumstances COVID-19 has created. We apologize for any inconvenience and appreciate your understanding during this critical time.

Creating toggle keys in Razer Synapse 3

Discussion in 'Razer Synapse' started by Onionike, Feb 25, 2019.

Thread Status:
Not open for further replies.
  1. Onionike

    Onionike New Member

    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++:

    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>

    5. Delete the section that reads to create a macro that holds a left click:
    Code:
    <MacroEvent>
          <Type>2</Type>
          <MouseEvent>
            <MouseButton>1</MouseButton>
            <State>1</State>
          </MouseEvent>
        </MacroEvent>
    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:
    Code:
    <MacroEvent>
          <Type>2</Type>
          <MouseEvent>
            <MouseButton>1</MouseButton>
            <State>0</State>
          </MouseEvent>
        </MacroEvent>

    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.
     
    BlackFireDragon and pancholr like this.
  2. kwokut

    kwokut New Member

    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.
     
    Onionike likes this.
  3. CaptnHammer

    CaptnHammer Member

    Nice post!
     
    Onionike likes this.
  4. Onionike

    Onionike New Member

    I'm curious too now, I'll look into it. I wonder if keybind switching is possible too?
     
Thread Status:
Not open for further replies.
Sign In with Razer ID >


Don't have a Razer ID yet?
Get Razer ID >