Wiiiiii!-Mote Connections

advertisement
Wiiiiii!-Mote Connections
A PRIMER ON INTEGRATING WIIMOTE
FUNCTIONALITY
What is the Wii Remote?
 Nicknamed the Wiimote
 Developed for use with Nintendo’s Wii Console
 Uses Bluetooth to connect wirelessly
 Runs off 2 AA Batteries
 No operating system natively supports Wiimote
Next: Wiimote Capabilities
Wiimote Capabilities
 7 Buttons and a Directional Pad
 3 axis Accelerometers
 IR Point Sensing
 4 LED
 1 Speaker
 Rumble Functionality
 Extendible
Next: Wiimote Extensions
Wiimote Extensions
 Nunchuck
 2 Buttons and Thumbstick
 3 axis Accelerometer
 Motion Plus
 More accurate position description
 Classic Controller
 10 Buttons, a Directional Pad, and two Thumbsticks
Images from:
http://www.nintendo.com/wii/what/controllers
Next: Motivation
Why Bother?
 Human Interface Devices change games are





experienced
Different types of input
Wireless controllers are popular
Offer new challenges to players
Make gameplay more intuitive
Cause it’s cool
Even Old People and Little
Girls like using Wiimotes!
Image from:
http://www.nintendo.com/wii/what/wiiparents
Next: Existing Interfaces
Current Connections
 BlueSoleil
 GlovePIE
 WiiYourself!
Next: Blue Soleil
BlueSoleil
 Is a replacement for native Bluetooth stacks
 Pros
 Has a computer wide access to Wiimote
 Works very well
 Cons
 Costs money
 Not Flexible for programmers
 Not distributable with your game
Next: GlovePIE
GlovePIE
 Stands for Programmable Interface Emulator
 Pros
 Free!
 Scripting capabilities
 Cons
 Does not work with all Bluetooth Stacks
 Would require a separate install from players
Next: WiiYourself!
WiiYourself!
 C++ source code that interprets Wiimote input
 Pros
 Free!
 Distributable
 Can be fully integrated and customized for your game
 Cons
 Requires extra downloads on developers part
 Use of motion sensing and IR sensing requires significant
programming
 Conclusion: Go with WiiYourself!
Next: Components
Software Wii-quirements
 WiiYourself!
 http://wiiyourself.gl.tter.org/
 Microsoft SDK
 http://msdn.microsoft.com/en-us/windows/bb980924.aspx
 Windows Drivers Kit
 http://www.microsoft.com/downloads/details.aspx?displayla
ng=en&FamilyID=36a2630f-5d56-43b5-b996-7633f2ec14ff
Next: How to Install
Wii-configuring Visual Studio
 Install Windows WDK and SDK
 After Install Run Visual Studio Configuration
Next: Includes and Libraries
Setting Includes and Libraries
 In Visual Studio Include:
 WDK API
 SDK for your version of Windows (XP should work on most
current Versions)
 Include the WDK library for your OS (Again, XP should work)
Next: Finishing It Off
Integration
 Include Wiimote.h in your Game
 Develop an Interface to your Game
 Include required License Text and Game On
Next: How To Interpret Input
Download