From 1106efd440bf678c1422a9247b8c27f2259ac94b Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Wed, 13 Jul 2011 15:40:15 +0200 Subject: 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. --- acinclude.m4 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'acinclude.m4') 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") ]) -- cgit v1.2.1