Multisystem, NES, SNES, N64, PSX joysticks and gamepads

modulename: gamecon.ko

configname: CONFIG_JOYSTICK_GAMECON

Linux Kernel Configuration
└─>Device Drivers
└─>Input device support
└─>Joysticks/Gamepads
└─>Parallel port support
└─>Multisystem, NES, SNES, N64, PSX joysticks and gamepads
In linux kernel since version 2.6.20 (release Date: 2007-02-04)  
Say Y here if you have a Nintendo Entertainment System gamepad,
Super Nintendo Entertainment System gamepad, Nintendo 64 gamepad,
Sony PlayStation gamepad or a Multisystem -- Atari, Amiga,
Commodore, Amstrad CPC joystick connected to your parallel port.
For more information on how to use the driver please read
Documentation/input/joystick-parport.txt.

To compile this driver as a module, choose M here: the
module will be called gamecon.

source code: