Just had a fun one which fortunately didn't kill me, just wasted a few hundred credits. I got a new joystick, plugged it in, and on my first flight came in on the tail of someone else's fight and decided to fire at a powered-down Thargoid fighter and earn 50 credits. And my ship promptly fires an ECM-hardened missile at it...
Both looked a lot like this like this:
The old joystick had four buttons in a diamond arrangement on the right - 1 at 12 o'clock, 2 at 3 o'clock, 3 at 6 o'clock, and 4 at 9 o'clock. I had the game programmed to use 1 as fire laser, 2 as fire missile.
The new joystick also has four buttons in a diamond arrangement on the right - 2
at 12 o'clock, 4
at 3 o'clock, 3 at 6 o'clock, and 1
at 9 o'clock. And unfortunately it turns out they haven't just labelled them differently, they're physically wired that way.
Needless to say I didn't look at the buttons when I fired, I just pressed the one I always press.
I've now reassigned buttons to keep the layout the same, but it was VERY annoying until I got docked and figured out what was wrong.