Wii Cursor controlling the mouse cursor with the














- Slides: 14
Wii. Cursor controlling the mouse cursor with the Wii. Mote Jesper Niedermann 21/12 -2008
Wii. Cursor • Wii. Cursor is a program for controlling the mouse cursor on a PC and sending mouse and key events using a Wii. Mote • Programmed using. NET and Wii. Mote. Lib by Brian Peek • The Buttons on the Wii. Mote can be configured in XML files
The Wii explained
Wii Scart Wii Sensor Bar -Accelerometer Wiimote -Infrared Camera Bluetooth -Loudspeakers -Memory -Vibrator -Standard Controls -Bluetooth Infrared LEDs
Infrared LED This means you can make your own sensor bar Camera Examples: http: //doctabu. livejournal. com/64758. html http: //www. youtube. com/watch? v=JTGSk. YRDp. W Y&eurl= http: //www. youtube. com/watch? v=Woni. C 26 LFP s&NR=1
. NET ?
PC Wii . NET Wii Sensor Bar Wiimote
Wii. Mote. Lib by Brian Peek • Managed API for the Wiimote • http: //www. codeplex. com/Wii. Mote. Lib/ • http: //www. brianpeek. com/blog/pages/wiimotelib. aspx Wii. Mote. Lib . NET Framework Bluetooth
Wii. Mote. Lib by Brian Peek • Simple Event Based Model • Basicly one event – Wii. Mote. Changed • Wiimote. Changed. Event. Args contains entire state of Wiimote
Wii. Mote. Lib by Brian Peek • From Reflector:
Wii. Mote. Lib by Brian Peek • Brian Peek’s test Application:
Wii. Cursor + Draw. Cursor can draw with mouse cursor on screen Involves – WPF, Win. Forms, Interop to Win 32, Keyboard Hooks and Linq. To. Xml for configuration Wii. Cursor can use Wiimote to move cursor on screen and buttons to send Mouse and Keyboard events Involves – Win. Forms, Interop to Win 32, Simulating Keyboard and Mouse events, Linq. To. Xml for configuration
Draw. Cursor Architecture Mouse Keyboard Listener Ink. Canvas + Interop
Wii. Cursor Architecture Wii. Mote Simulated Mouse Configuration Wii. Mote. Lib Input Simulator Simulated Keyboard