All Functions Modules Pages
osk

Functions

STRING osk.init (STRING desc, STRING text)
 Initializes Sony keyboard. More...
 
STRING osk.init (STRING desc, STRING text, NUMBER type)
 Initializes Sony keyboard. More...
 
STRING osk.init (STRING desc, STRING text, NUMBER type, NUMBER textmax)
 Initializes Sony keyboard. More...
 
STRING osk.init (STRING desc, STRING text, NUMBER type, NUMBER textmax, NUMBER lines)
 Initializes Sony keyboard. More...
 
STRING osk.init (STRING desc, STRING text, NUMBER type, NUMBER textmax, NUMBER lines, NUMBBER mode)
 Initializes Sony keyboard. More...
 

Detailed Description

Keyboard managing.

Function Documentation

STRING osk.init ( STRING  desc,
STRING  text 
)

Initializes Sony keyboard.

Parameters
descDescription shown bottom right.
textInitial text.
Returns
Text inserted with the keyboard, or nil if the user cancels the operation.
STRING osk.init ( STRING  desc,
STRING  text,
NUMBER  type 
)

Initializes Sony keyboard.

Parameters
descDescription shown bottom right.
textInitial text.
typeKeyboard mode: 1 for normal mode, 2 for numeric mode.
Returns
Text inserted with the keyboard, or nil if the user cancels the operation.
STRING osk.init ( STRING  desc,
STRING  text,
NUMBER  type,
NUMBER  textmax 
)

Initializes Sony keyboard.

Parameters
descDescription shown bottom right.
textInitial text.
typeKeyboard mode: 1 for normal mode, 2 for numeric mode.
textmaxMax. number of characters to insert with the keyboard.
Returns
Text inserted with the keyboard, or nil if the user cancels the operation.
STRING osk.init ( STRING  desc,
STRING  text,
NUMBER  type,
NUMBER  textmax,
NUMBER  lines 
)

Initializes Sony keyboard.

Parameters
descDescription shown bottom right.
textInitial text.
typeKeyboard mode: 1 for normal mode, 2 for numeric mode.
textmaxMax. number of characters to insert with the keyboard.
linesMax. number of lines to insert with the keyboard.
Returns
Text inserted with the keyboard, or nil if the user cancels the operation.
STRING osk.init ( STRING  desc,
STRING  text,
NUMBER  type,
NUMBER  textmax,
NUMBER  lines,
NUMBBER  mode 
)

Initializes Sony keyboard.

Parameters
descDescription shown bottom right.
textInitial text.
typeKeyboard mode: 1 for normal mode, 2 for numeric mode.
textmaxMax. number of characters to insert with the keyboard.
linesMax. number of lines to insert with the keyboard.
modeLanguage of the keyboard, must indicate a numeric value:
  • 0 Japanese.
  • 1 English.
  • 2 Spanish.
  • 3 German.
  • 4 Italian.
  • 5 Dutch.
  • 6 Portuguese.
  • 7 Russian.
  • 8 Korean.
  • 9 Tradicional Chinese.
  • 10 Simplified Chinese.
  • -1 Language configured for the PSP Firmware.
Returns
Text inserted with the keyboard, or nil if the user cancels the operation.