#include <revolution/kbd.h> KBDEc KBDExit (void);
None.
| KBDEc | Keyboard error code.KBD_SUCCESS if the call was successful.KBD_ERR_NOT_INITIALIZED if the library was not initialized. |
|---|
Terminates the USB keyboard library. After the KBDExit function is called, calls to KBD library APIs should no longer be made.
We recommend that all keyboard LEDs be turned off before the KBDExit function is called. When the OS shuts down or resets, it will normally try to turn off all keyboard LEDs, but it cannot do this if the KBDExit function has been called. Also, because the KBD library depends on the HID library, after calling KBDExit, you should close the HID library by calling the HIDCloseAsync function.
2008/09/26 Deleted non-implemented return values. Added mention of the HIDCloseAsync function to Description.
2007/03/19 Initial version.
CONFIDENTIAL