Might also want https://github.com/dvdhrm/xwiimote/blob/master/res/50-xorg-fix-xwiimote.conf if you have a desktop environment running
Go to xwiimote and clone using git.
Go to xwiimote-bindings and clone using git.
Install the following dependencies (ubuntu based distributions) via:
sudo apt-get install libudev-dev libncurses5-dev libncursesw5-dev autoconf autogen libtool swig python3-dev python3-tk python3-pip
Install python modules:
sudo pip3 install pyudev websockets
Compile and install xwiimote library. Change (cd) to xwiimote directory (xwiimote-master), then run:
sudo ./autogen.sh
sudo ./configure
sudo make
sudo make install
Create the xwiimote configure file in /etc/ld.so.comf.d:
cd /etc/ld.so.conf.d
sudo nano xwiimote.conf
And add the following line to this file:
/usr/local/lib
and save: Ctrl O, Ctrl X. Next, reload library cache using the following:
sudo ldconfig
Test xwiimote libraries are installed and can connect Wiiboard by connecting Wiiboard via Bluetooth and running:
sudo xwiishow
and follow instructions.
Compile and install xwiimote python bindings. Change (cd) to xwiimote-bindings directory and run following:
sudo ./autogen.sh
sudo ./configure PYTHON=/usr/bin/python3
sudo make
sudo make install
Add user to input group to allow user (‘usersname’) to run xwiimote software:
sudo usermod -a -G input usersname
then log out and log back in again