mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
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:
parent
ad3e9191d1
commit
aba51b8ae4
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, dbus, glib, alsaLib,
|
{ stdenv, fetchurl, pkgconfig, dbus, glib, alsaLib,
|
||||||
python3, readline, udev, libical,
|
python3, readline, udev, libical, systemd,
|
||||||
systemd, enableWiimote ? false, enableMidi ? false }:
|
enableWiimote ? false, enableMidi ? false, enableSixaxis ? false }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "bluez-5.50";
|
name = "bluez-5.50";
|
||||||
@ -43,7 +43,8 @@ stdenv.mkDerivation rec {
|
|||||||
"--with-systemduserunitdir=$(out)/etc/systemd/user"
|
"--with-systemduserunitdir=$(out)/etc/systemd/user"
|
||||||
"--with-udevdir=$(out)/lib/udev"
|
"--with-udevdir=$(out)/lib/udev"
|
||||||
] ++ optional enableWiimote [ "--enable-wiimote" ]
|
] ++ 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.
|
# Work around `make install' trying to create /var/lib/bluetooth.
|
||||||
installFlags = "statedir=$(TMPDIR)/var/lib/bluetooth";
|
installFlags = "statedir=$(TMPDIR)/var/lib/bluetooth";
|
||||||
|
Loading…
Reference in New Issue
Block a user