Functions to display Sony's On Screen Keyboard
#define OSL_OSK_CANCEL PSP_UTILITY_OSK_RESULT_CANCELLED |
OSK cancel – STAS: for backward compatibility
#define OSL_OSK_CHANGED PSP_UTILITY_OSK_RESULT_CHANGED |
#define OSL_OSK_UNCHANGED PSP_UTILITY_OSK_RESULT_UNCHANGED |
void oslInitOsk |
( |
char * |
descStr, |
|
|
char * |
initialStr, |
|
|
int |
textLimit, |
|
|
int |
linesNumber, |
|
|
int |
language |
|
) |
| |
Initializes the OSK
- Parameters
-
*descStr | Text shown as a description (bottom right corner) |
initialStr | Initial text in the OSK |
textLimit | Maximum number of chars |
linesNumber | Number of lines |
language | Language JAPANESE 0 ENGLISH 1 FRENCH 2 SPANISH 3 GERMAN 4 ITALIAN 5 DUTCH 6 PORTUGUESE 7 RUSSIAN 8 KOREAN 9 CHINESE_TRADITIONAL 10 CHINESE_SIMPLIFIED 11 If you pass to the function -1 then the language set in the firmware is used |
Draws the OSK After drawing it you should check if the user closed it. Remember to call oslEndOsk.
Checks if the OSK is active.
Returns the current OSK status
Returns the OSK result (OSL_OSK_CHANGED, OSL_OSK_UNCHANGED or OSL_OSK_CANCEL)
void oslOskGetText |
( |
char * |
text | ) |
|
Get the text inserted in the OSK