This does work, except for one detail: the Ctrl key seems to be only pressed after the first mouse wheel event is already sent, which means that every time I try to scroll horizontally, Affinity Photo first scrolls one tick up or down vertically. Is there any way to force the driver to push the modifier before starting to send the mouse event?<Axis>
<Enabled>true</Enabled>
<Input>
<ActionID>HIDMultiAxis_Rz</ActionID>
<Min>-512</Min>
<Max>511</Max>
</Input>
<Output>
<Modifiers>
<Modifier>Control</Modifier>
</Modifiers>
<ActionID>HIDMouse_Wheel</ActionID>
</Output>
</Axis>
Also, as a follow-up question, I tried to switch to sending Ctr-+ or Ctrl-— isntead, but could not figure out how. I tried various permutations of the code below, but nothing worked. Is there any documentation for this XML format that I could read to get a better understanding of what options are available, and how they work?
<Axis>
<Enabled>true</Enabled>
<Input>
<ActionID>HIDMultiAxis_Rz</ActionID>
<Min>0</Min>
<Max>511</Max>
</Input>
<Output>
<ActionID>KB_Keystroke</ActionID>
<RepeatStyle>PressAndHold</RepeatStyle>
<KeyStroke>
<Key>107</Key>
</KeyStroke>
<Modifiers>
<Modifier>Control</Modifier>
</Modifiers>
</Output>
</Axis>