#include "kbd.h";
void KBD_Init( int x, int y, BOOL bootmenu_mode, KBDSoundCallback callback, void* param );
x | Top left x-coordinate for the keyboard |
y | Top left y-coordinate for the keyboard |
bootmenu_mode | Whether or not to add two dummy buttons Normally FALSE |
callback | The callback function called during SE sound generation |
param | The parameters passed to the callback function during SE sound generation |
None.
Performs a general initialization of the software keyboard.
Specifically, the following actions are performed:
Initializes the pad and touch panel input processing systems
Initializes the IPL font
Sets the pad repeat input for the entire +Control Pad, the B Button, and the X Button
bootmenu_mode is a flag to set the area at the bottom of the screen for two additional buttons, but because it is not for general use, set it to FALSE.
It is used for the Confirm and Cancel buttons used in profile input within the IPL menu.
The sound callback type KBDSoundCallback
is defined as:
typedef void (*KBDSoundCallback)( void* param, int sound );
This function does not call the callback if NULL is specified in callback
.
CONFIDENTIAL