Support for third party joycons and xbox orientation #116
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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!