N64 controller

modulename: n64joy.ko

configname: CONFIG_JOYSTICK_N64

Linux Kernel Configuration
└─>Device Drivers
└─>Input device support
└─>Joysticks/Gamepads
└─>N64 controller
In linux kernel since version 5.2 (release Date: 2019-07-07)  
Say Y here if you want enable support for the four
built-in controller ports on the Nintendo 64 console.

source code: