KBDInit DEPRECATED

Syntax

#include <cafe/kbd.h>

KBDEc KBDInit(                       
                void            *p_kbd_mem,           
                KBDDevCallbackF attach_callback,    
                KBDDevCallbackF detach_callback,    
                KBDKeyCallbackF key_event_callback  
                );  

Parameters

p_kbd_mem Pointer to KBD memory, it is no longer needed, set to 0.
attach_callback Pointer to user-implemented callback function for keyboard attach.
detach_callback Pointer to user-implemented callback function for keyboard detach.
key_event_callback Pointer to user-implemented callback function for keyboard input.

Return Values

KBDEc Keyboard error code.
If successful, the function returns KBD_SUCCESS.
If the library is already initialized, the function returns KBD_ERR_ALREADY_INITIALIZED.

Description

This function has been deprecated. Use KBDSetup and KBDTeardown instead.

Do Not Call From

Deprecated Do not call this function in new code.
Background Do not call this function from the background.

See Also

KBDDevCallbackF
KBDKeyCallbackF
KBDSetup
KBDTeardown

Revision History

2013/05/08 Automated cleanup pass.
2012/11/15 Revised syntax, description and references.
2012/08/21 Cleanup Pass
2011/12/21 Moved to Cafe.


CONFIDENTIAL