Difference between revisions of "Wiimote"
From ArmadeusWiki
m (→Links) |
m (→Links) |
||
Line 57: | Line 57: | ||
* https://help.ubuntu.com/community/CWiiD or http://doc.ubuntu-fr.org/wiimote (french) | * https://help.ubuntu.com/community/CWiiD or http://doc.ubuntu-fr.org/wiimote (french) | ||
− | [[Category: | + | [[Category:UserInput]] |
[[Category:Bluetooth]] | [[Category:Bluetooth]] |
Revision as of 09:11, 23 June 2010
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