PADIsBarrel

C Specification

#include <revolution/pad.h>
BOOL PADIsBarrel(s32 chan);

Arguments

chan The controller channel.

Return Values

Returns TRUE if a DK Bongo Controller is connected; otherwise, returns FALSE.

Description

This function returns whether the DK Bongo Controller (two bongos shaped like barrels) is plugged into a given channel.

If the DK Bongo Controller is plugged in, it acts as a normal controller:

See Also

Revision History

03/01/2006 Initial version.