To answer truthfully, I dont know 100%, but it will be difficult, BUT what I have made yo work is 2 different mice. I use this as the Buggy turret directional controls are useless and choppy. So I used a mouse I had lying around (Which has internal memory and a programming interface) , a small app called HID macro'es.
In Elite turret control was set to mouse, In Hid macroes (which can specify a keystroke to a device( and only that device)) I specified fire , target, secondary Fire, targets panel to different buttons. In the control panel for the mouse; i did the same, but ONLy to do this when in in aternate mode (3 modes excist), saved config to mouse, and voila!
I now have 2 mice which behaves completely different, one is ordinary mouse, the other only acts in Elite in a special way!
The programmable mouse is a Bloody Mouse, made by A4Tech.
Cheers Cmdr's