This tutorial works with both official Nintendo or 3rd party nunchucks. The nunchuck is a good multi-use input for a Raspberry Pi as they can be picked up cheaply and contain a joystick, a three-axis accelerometer and two buttons in a nice ergonomically friendly controller.