I have a SpaceMouse Compact and I'm struggling to find a way to have a modifier+key macro to execute on button press rather than button release.
For example if you assign a keyboard key via the gui the events execute as you'd expect with execution on button press, repeat on button hold and end on button release. I want to achieve the same behaviour but with a modifier+keytroke or modifier+mouseclick so that I'm not interfering with other shortcuts and hotkeys.
Any pointers truly appreciated but if this is not possible please let me know and put me out of my misery!
The following code fires the propper events on press and release so is it possible to include a modifier or execute a string of keys where the last key can be held down?
Code: Select all
<ButtonBank Default="true">
<Name>STR_DEFAULT_BUTTONBANK</Name>
<ID>Default</ID>
<Button>
<Input>
<ActionID>HIDButton_2</ActionID>
</Input>
<Output>
<ActionID>KB_Delete</ActionID>
</Output>
</Button>
</ButtonBank>
Code: Select all
<ButtonActions>
<ButtonAction Type="Sequence">
<ID>Macro_0115ff0f-75db-4e2b-b674-eb997adcf3c8</ID>
<Name>SpaceMouse1</Name>
<Sequence>
<ActionID>CTRL+SHIFT+4</ActionID>
</Sequence>
</ButtonAction>
</ButtonActions>
<MacroTable>
<MacroEntry>
<ID>CTRL+SHIFT+4</ID>
<KeyStroke>
<Modifiers>
<Modifier>Control</Modifier>
<Modifier>Shift</Modifier>
</Modifiers>
<Key>21</Key>
</KeyStroke>
</MacroEntry>
</MacroTable>