For Elite Dangerous ,if you do not use the TARGET software with the warthog, you miss a lot of possibilities offered by its use
You can use some good profile already done, they send keypresses, so, you can use them to trigger VoiceAttack commands.
Mine on Github : ED-Warthog-Target-Script
Or this one : Aussiedroid's Enhanced Thrustmaster Warthog Script
Ps: use your search engine
If you need help to install and configure one of those TARGET script, PM me