The driver translates wireless input from the gamepad into events on an emulated USB HID device, allowing it to work like an ordinary USB joystick in SDL and other programs.
the gamepad in a suitable colour
USB mini-B cable for pairing and charging
Bluetooth dongle (ASUS USB-BT400 works)
To install, run
make make install
Or use the port.
See the man page for further instructions.