joaorb64 / joycond-cemuhook

Support for cemuhook's UDP protocol for joycond devices
MIT License
148 stars 18 forks source link

Add support for controller names provided by hid-nx #77

Closed git-developer closed 1 year ago

git-developer commented 1 year ago

This PR adds support for controller names provided by the kernel module hid-nx.

hid-nx does not use hard-coded names per device; instead, each device reports its name on connection. Thus, the device names differ slightly. For example, the currently supported name for a Switch Pro Controller is Nintendo Switch Pro Controller. In my case, the name was Pro Controller when connected via Bluetooth and Nintendo Co., Ltd. Pro Controller when connected via USB.

This PR adds alias names for existing controller profiles. The list of alias names has been collected from physically connected devices. There may be additional aliases.

References #71.

joaorb64 commented 1 year ago

Thanks for the contribution!