Build xwiimote
- dependencies: ref
- swig
- autoconf
- libtool
- python-dev
- the pre-compiled package found in the Debian Jessie repo is too old (ref)
./configure --prefix=/usr
or appendLD_LIBRARY_PATH
later on (ref)
Build xwiimote-bindings
./autogen.sh
make
sudo make install
$ bluetoothctl
[bluetooth]# power on
[bluetooth]# agent on
[bluetooth]# default-agent
[bluetooth]# scan on
[bluetooth]# pair <MAC>
[bluetooth]# connect <MAC>
...
Connection successful
# optional
# export LD_LIBRARY_PATH=/usr/local/lib
python test.py [--debug]