Not sure if this is waht you mean but anyway:
I play Amiga driving games and platformers: Amiga Joystick UP is often forward or jump, so I soldered a wire from the UP electric pad of d-pad on the sega controller to one of the electric pads of one of the buttons.
Amiga joystick "fire" button is already mapped to one of the sega buttons.