xb360 controller detected as mouse by host on Linux

A number of games, ahem Feral, on Linux have an issue where a 360 gamepad being used over the network is intermittently detected as a mouse, so buttons like analog are detected as both mouse and gamepad inputs causing unplayability due to movement being totally screwed up, and the "b" button acting as the "esc" key making certain games impossible to play.



no Idea what to do here.