Wiimote
From ArmadeusWiki
It is possible to control your APF board with a Wiimote through a Bluetooth interface.
Installation
- if not already available, install uinput driver
$ make linux26-menuconfig
Device Drivers ---> Input device support ---> [*] Miscellaneous devices ---> <M> User level driver support
$ make linux26 && make
- add cwiid package to Buildroot:
$ make menuconfig
Package Selection for the target ---> Hardware handling / blockdevices and filesystem maintenance ---> [*] cwiid
$ make
- reflash your rootfs
Usage
- First, be sure that your Bluetooth interface is up and running
- load uinput driver:
# modprobe uinput
- search for your wiimote:
# lswm Put Wiimotes in discoverable mode now (press 1+2)... 00:18:00:10:20:8C
- use it:
# wminput input: Nintendo Wiimote as /devices/virtual/input/input2 Put Wiimote in discoverable mode now (press 1+2)... Bluetooth: L2CAP ver 2.11 Bluetooth: L2CAP socket layer initialized Ready.
# wmdemo