RStats particular key combination in Karabiner I'd like to edit this

&lt;!-- change left command to control, send command+space when left command is pressed twice. --&gt;
&lt;autogen&gt;
  __DoublePressModifier__
  KeyCode::COMMAND_L,
  KeyCode::CONTROL_L,
  KeyCode::SPACE, ModifierFlag::COMMAND_L,
&lt;/autogen&gt;


so that I can obtain %&gt;% when pressing BACKQUOTE twice. I cannot succeed with that key.

Ideas?

Many thank thanks in advice !!
The following snippet will work:

&lt;item&gt;
&lt;name&gt;Double press Backquote to %&gt;% in RStats&lt;/name&gt;
&lt;identifier&gt;backquote2%&gt;%&lt;/identifier&gt;
&lt;only&gt;RSTATS&lt;/only&gt;
  &lt;autogen&gt;
  __DoublePressModifier__
  KeyCode::BACKQUOTE,
  KeyCode::BACKQUOTE,
  KeyCode::DELETE, KeyCode::DELETE, KeyCode::KEY_5, ModifierFlag::SHIFT_L, KeyCode::DOT, ModifierFlag::SHIFT_L, KeyCode::KEY_5, ModifierFlag::SHIFT_L
  &lt;/autogen&gt;
&lt;/item&gt;


You have to add RStats' app bundle identifier - available in Karabiner's Event Viewer > Apps - to /Applications/Karabiner.app/Contents/Resources/appdef.xml.

A single backquote gives a backquote, two backquotes entered fast enough %&gt;%. I think a more elegant version exists - I haven't found it yet though.