Nintendo Joy-Con, NSO, and Pro Controller support

modulename: hid-nintendo.ko

configname: CONFIG_HID_NINTENDO

Linux Kernel Configuration
└─>Device Drivers
└─>HID bus support
└─>Special HID drivers
└─>Nintendo Joy-Con, NSO, and Pro Controller support
In linux kernel since version 4.14.326 (release Date: 2023-09-23)  
Adds support for the Nintendo Switch Joy-Cons, NSO, Pro Controller.
All controllers support bluetooth, and the Pro Controller also supports
its USB mode. This also includes support for the Nintendo Switch Online
Controllers which include the Genesis, SNES, and N64 controllers.

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

source code: