In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

User:Goofster1020/Code Tutorials/Tutorial 1 - Basic Wiimote Usage: Difference between revisions

From WiiBrew
Jump to navigation Jump to search
Undo revision 59550 by Goofster1020 (Talk)
Line 24: Line 24:
<br>
<br>
==Basic Usage==
==Basic Usage==
''The following section includes the very basic usage of the Wiimote.''
<br><br>
If you are using the Wiimote, no matter what, you '''always''' need to have this line in your file:
<source lang="c">
#include <wiiuse/wpad.h>
//This simple line allows your program access to everything available (in LibWiiuse)  for the Wiimote.
</source>
<br>
===Initializing the Wiimote===
===Initializing the Wiimote===
===Disconnecting the Wiimote===
===Disconnecting the Wiimote===
==Wiimote Features==
==Wiimote Features==
===Using the Buttons===
===Using the Buttons===

Revision as of 07:11, 27 June 2009

This tutorial explains how to use the wiimote in many different ways, like:

Basic Usage

Wiimote Features

Expansions

Detection

Other


Basic Usage

The following section includes the very basic usage of the Wiimote.

If you are using the Wiimote, no matter what, you always need to have this line in your file:

#include <wiiuse/wpad.h>
//This simple line allows your program access to everything available (in LibWiiuse)  for the Wiimote.


Initializing the Wiimote

Disconnecting the Wiimote

Wiimote Features

Using the Buttons

Using the Joysticks

Using the Accelerometer

Using the IR

Using Rumble

Expansions

Nunchuk

Classic Controller

Guitar

Balance Board

Detection

Wiimote Detection

Expansion Detection

Other

Wiimote Settings

Wiimote Callbacks