Created attachment 211686 [details]
Patch for emulators/mednafen
The presence of <linux/joystick.h> (from devel/evdev-proto) breaks mednafen's SDL joystick detection. The included patch works around the problem.
Or you could try an evdev gamepad driver instead: https://github.com/wulf7/iichid/pull/26.
Over to maintainer.
The maintainer hasn't responded yet. Can someone else take a look at this?