Install xserver-xorg-input-xwiimote by entering the following commands in the terminal:
sudo apt update sudo apt install xserver-xorg-input-xwiimote
Description:
X.Org Wii remote input driver
This includes an X.Org input driver for Nintendo Wii Remotes based on XWiimote.
Homepage: https://github.com/dvdhrm/xf86-input-xwiimote
Version: 0.5-1build3
Section: universe/x11