Personal tools
You are here: Home Embedded gumstix Device servers Wiimote
Log in


Forgot your password?
 

Wiimote

 

Contents

Introduction

The Wii Remote, also nicknamed "Wiimote", is the primary controller for Nintendo's Wii console. The main features of the Wii Remote are its motion sensing capability, which allows the user to interact with and manipulate items on screen via movement and pointing, and its expandability through the use of attachments.

Tango Device Server settings

#---------------------------------------------------------
# SERVER Wiimote/gumstix, Wiimote device declaration
#---------------------------------------------------------
Wiimote/gumstix/DEVICE/Wiimote: "gumstix/wiimote/1"
# --- gumstix/wiimote/1 properties
gumstix/wiimote/1->BluetoothAddress: C6:5C:02

Device Server

see E.Taurel doc files about wiimote

Implementation

  • The wiimote library is accessing it via bluez (the wiimote lib requires libbluetooth and librt). This library calls a CallBack in your code each time you are doing something.
  • cwiid-0.5.03 library has to be installed. To install the library download it from http://abstrakraft.org/cwiid/wiki. The problem with installation is that lgtk-x11-2.0 cannot be found (since there's no X server on the gumstix). The easiest solution is just to remove wmgui from BIN_DIRS in Makefile.am, and than
./configure CC=arm-linux-gcc CXX=arm-linux-g++ --host=arm-linux --build=i486-linux
make
make install

Document Actions