is there a way I can map another usb device's buttons to control hardware trim, as one of my joystic

is there a way I can map another usb device's buttons to control hardware trim, as one of my joysticks has a wire running down to a leo bodner card?
Was this page helpful?