KBDInit

C Specification

#include <revolution/kbd.h>
KBDEc KBDInit (void);

Arguments

None.

Return Values

KBDEc Keyboard error code.
KBD_SUCCESS if the call was successful.
KBD_ERR_ALREADY_INITIALIZED if the library is already initialized.
KBD_ERR_OTHER if a dependent library fails to initialize.

Description

Initializes the USB keyboard library. KBDInit must be called before using the USB keyboard library. The only functions that can be called before calling KBDInit are those that either set the region or register callbacks.

See Also

Keyboard API Function List

Revision History

2007/03/19 Initial version.