I was having ghost input issues (like most other people) with the Logitech X56 hotas. I tried using various usb ports on the front and back of my tower. I got a powered usb hub. Still, no joy (get it?)
I finally learned python and wrote up a Joystick Gremlin plugin to mitigate the problem.
It monitors each button press and maps them to a vJoy virtual joystick EXCEPT if more than ~2 buttons are pressed at the same time (within ~50ms of each other). Can configure to taste.
I know getting the hardware/power situation sorted would probably be the best route; but I played ED for around 2 hours, and the plugin had caught and blocked over 300 ghost inputs–didn't notice any negative effect in-game.
YMMV, but just thought I'd share, if this might be useful to anyone who's going through the same thing…
Plugin code:
Source: https://www.reddit.com/r/EliteDangerous/comments/zt66r8/ghost_input_solution_for_logitech_x56_hotas/