diff options
author | Szymon Janc <szymon.janc@gmail.com> | 2013-11-25 22:15:48 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-11-27 11:29:26 +0200 |
commit | f52aa874997f2f6f5c3395f79c0fcd26c3fe85d1 (patch) | |
tree | 8fbf599fcf78439b12427bfc5809d65931c779a7 /plugins/sixaxis.c | |
parent | acd6aa883bbf3440ce5c589a68877ceddbbe30b3 (diff) | |
download | bluez-f52aa874997f2f6f5c3395f79c0fcd26c3fe85d1.tar.gz |
plugins: Add initial code for sixaxis plugin
This plugin will be used to associate PS3 controllers.
Diffstat (limited to 'plugins/sixaxis.c')
-rw-r--r-- | plugins/sixaxis.c | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/plugins/sixaxis.c b/plugins/sixaxis.c new file mode 100644 index 000000000..bf66bef8e --- /dev/null +++ b/plugins/sixaxis.c @@ -0,0 +1,46 @@ +/* + * + * BlueZ - Bluetooth protocol stack for Linux + * + * Copyright (C) 2009 Bastien Nocera <hadess@hadess.net> + * Copyright (C) 2011 Antonio Ospite <ospite@studenti.unina.it> + * Copyright (C) 2013 Szymon Janc <szymon.janc@gmail.com> + * + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + */ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "plugin.h" +#include "log.h" + +static int sixaxis_init(void) +{ + DBG(""); + + return 0; +} + +static void sixaxis_exit(void) +{ + DBG(""); +} + +BLUETOOTH_PLUGIN_DEFINE(sixaxis, VERSION, BLUETOOTH_PLUGIN_PRIORITY_LOW, + sixaxis_init, sixaxis_exit) |