An /etc/joycond.conf config file allowing for the following:
A mac_device directive allowing the device type to be overridden on a per-MAC basis. This allows the usage of third-party joycons such as the Binbok that report their device type incorrectly.
A prop directive allowing settings for combined joycons to be specified.
An xbox_orientation property swapping X/Y and A/B, making the combined controller behave more like an XBOX controller, preventing the need for remapping in many games that expect this button orientation.
Please let me know your thoughts. I included my moonlight utility lib mainly for shlex::split which is used in parsing the config file, but I can refactor this out if you'd prefer. I'm happy to follow any suggestions and make changes. Thanks for building and maintaining this awesome daemon!
These two commits add the following:
/etc/joycond.conf
config file allowing for the following:mac_device
directive allowing the device type to be overridden on a per-MAC basis. This allows the usage of third-party joycons such as the Binbok that report their device type incorrectly.prop
directive allowing settings for combined joycons to be specified.xbox_orientation
property swapping X/Y and A/B, making the combined controller behave more like an XBOX controller, preventing the need for remapping in many games that expect this button orientation.Please let me know your thoughts. I included my
moonlight
utility lib mainly forshlex::split
which is used in parsing the config file, but I can refactor this out if you'd prefer. I'm happy to follow any suggestions and make changes. Thanks for building and maintaining this awesome daemon!