diff options
author | David Herrmann <dh.herrmann@googlemail.com> | 2011-07-13 15:40:15 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2011-07-14 17:25:05 +0300 |
commit | 1106efd440bf678c1422a9247b8c27f2259ac94b (patch) | |
tree | 0a55a1b6fb7850bba2f5aeebf4ce4176f02fad3c /acinclude.m4 | |
parent | 092df7b4f99e3d84d5edc99a13147e0795ccb3e1 (diff) | |
download | bluez-1106efd440bf678c1422a9247b8c27f2259ac94b.tar.gz |
Add support for wiimote pairing
The Nintendo Wii Remote requires binary bluetooth addresses as PINs.
This is not possible via dbus agent API. So this adds a plugin that
registers a pin-callback and forces the right pin for every
authentication request of wiimotes.
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index af97cce5a..4073f59f4 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -213,6 +213,7 @@ AC_DEFUN([AC_ARG_BLUEZ], [ maemo6_enable=no sap_driver=dummy dbusoob_enable=no + wiimote_enable=no AC_ARG_ENABLE(optimization, AC_HELP_STRING([--disable-optimization], [disable code optimization]), [ optimization_enable=${enableval} @@ -345,6 +346,10 @@ AC_DEFUN([AC_ARG_BLUEZ], [ dbusoob_enable=${enableval} ]) + AC_ARG_ENABLE(wiimote, AC_HELP_STRING([--enable-wiimote], [compile with Wii Remote plugin]), [ + wiimote_enable=${enableval} + ]) + AC_ARG_ENABLE(hal, AC_HELP_STRING([--enable-hal], [Use HAL to determine adapter class]), [ hal_enable=${enableval} ]) @@ -403,4 +408,5 @@ AC_DEFUN([AC_ARG_BLUEZ], [ AM_CONDITIONAL(DATAFILES, test "${datafiles_enable}" = "yes") AM_CONDITIONAL(MAEMO6PLUGIN, test "${maemo6_enable}" = "yes") AM_CONDITIONAL(DBUSOOBPLUGIN, test "${dbusoob_enable}" = "yes") + AM_CONDITIONAL(WIIMOTEPLUGIN, test "${wiimote_enable}" = "yes") ]) |