Nintendo Joy-Con and Pro Controller support

modulename: hid-nintendo.ko

configname: CONFIG_HID_NINTENDO

Linux Kernel Configuration
└─>Device Drivers
└─>HID support
└─>Special HID drivers
└─>Nintendo Joy-Con 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 and Pro Controller.
All controllers support bluetooth, and the Pro Controller also supports
its USB mode.

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

source code: