bluez: Add support for the sixaxis controller

This should add support for the Playstation Dualshock 3 and DualShock 4
controllers.
This commit is contained in:
(cdep)illabout 2018-12-12 10:38:18 +09:00
parent ad3e9191d1
commit aba51b8ae4
No known key found for this signature in database
GPG Key ID: 462E0C03D11422F4

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, pkgconfig, dbus, glib, alsaLib,
python3, readline, udev, libical,
systemd, enableWiimote ? false, enableMidi ? false }:
python3, readline, udev, libical, systemd,
enableWiimote ? false, enableMidi ? false, enableSixaxis ? false }:
stdenv.mkDerivation rec {
name = "bluez-5.50";
@ -43,7 +43,8 @@ stdenv.mkDerivation rec {
"--with-systemduserunitdir=$(out)/etc/systemd/user"
"--with-udevdir=$(out)/lib/udev"
] ++ optional enableWiimote [ "--enable-wiimote" ]
++ optional enableMidi [ "--enable-midi" ]);
++ optional enableMidi [ "--enable-midi" ]
++ optional enableSixaxis [ "--enable-sixaxis" ]);
# Work around `make install' trying to create /var/lib/bluetooth.
installFlags = "statedir=$(TMPDIR)/var/lib/bluetooth";