You may create keystroke macros under the 'Button Configuration' Tab in the '3Dconnexion Control Panel'.
Clicking the 'Custom Functions' Button will bring up a dialog box where you may select 'New' Button and create a personalized name for your keystroke
macro under 'Macro Name:' Record your keystroke in 'User Macro' and 'Save' your macro with the 'Save' Button.
Then you may discover that same personalized name for your macro is in the dropdown lists that you may then assign to the button of your choice.
So if you have key-strokes in your application that will execute the command you are interested in, you may name and record them as a custom keystroke
macro that you may then assign to a button.
The more things change, the more they remain the same. ; ^ )