Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bluez: add support for the sixaxis controller #51895

Merged
merged 1 commit into from Dec 15, 2018

Conversation

cdepillabout
Copy link
Member

@cdepillabout cdepillabout commented Dec 12, 2018

This should add support for the Playstation Dualshock 3 and DualShock 4
controllers.

Motivation for this change

Currently the bluez package does not enable the sixaxis plugin. This sixaxis plugin is needed to support the Playstation Dualshock 3 and DualShock 4 controllers.

This can be easily compiled with the following command if you have this branch checked out:

nix-build -E 'with import ./. { }; bluez.override { enableSixaxis = true; }'

It looks like bluez doesn't have any maintainers, and a lot of people have touched the bluez derivation, so I'm not sure who to ping about reviewing this.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Assured whether relevant documentation is up to date
  • Fits CONTRIBUTING.md.

This should add support for the Playstation Dualshock 3 and DualShock 4
controllers.
@veprbl veprbl merged commit 73c6b3a into NixOS:master Dec 15, 2018
@veprbl
Copy link
Member

veprbl commented Dec 15, 2018

Honestly, I don't think we need all those options. Arch builds those plugins unconditionally: https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/bluez

@cdepillabout cdepillabout deleted the add-sixaxis-support-to-bluez branch December 15, 2018 01:56
@cdepillabout
Copy link
Member Author

cdepillabout commented Dec 15, 2018

It looks like arch builds them unconditionally, but they are only installed if you install the bluez-plugins package:

https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/bluez#n148

Thanks for merging this BTW!

@cdepillabout cdepillabout mentioned this pull request Dec 15, 2018
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants