ps4_keyboard_options table reference - Stingray Lua API Reference
Provides keyboard settings for a call to stingray.PS4ImeDialog.show().
You can create a table, set it up with
any of the fields defined here, and pass it to stingray.PS4ImeDialog.show(). Any fields you omit will use the
specified default values.
The color values accepted by this table all expect an ARGB value stored in an stingray.Quaternion, with each component
ranging from 0-255. You can create such a value by calling stingray.Color(), passing three arguments for an RGB value
or four for an ARGB value. To draw a bright yellow line, for example, you would use Color(255, 255, 0).
If you specify any custom color value, you will probably want to specify custom values for all the colors.
|
Base color.
|
|
Line color.
|
|
Pre-edit color.
|
|
Special color.
|
|
Text color.
|
|
Text field color.
|
|
The maximum length of the text that a user can input.
|
If omitted, the default of 2048 is used.
|
Sets other options for the keyboard.
|
This value must be a mask composed of
one or more of the PS4ImeDialog option flag values.
The default value of 0 means that none of these options are requested.
|
The placeholder text to show when the text box is empty.
|
If omitted, no placeholder text is shown.
|
Defines the languages that are supported in the IME.
|
This value must be a mask composed of
one or more of the PS4ImeDialog language flag values.
The default value of 0 means that all languages are supported.
|
The text that should be already filled in when the dialog is opened.
|
If omitted, no default text is shown.
|
The title of the dialog box.
|
If omitted, no placeholder text is shown.
|
The user ID for whom the dialog box must be shown.
|
If omitted, the default value is the user who launched the application (see stingray.PS4.initial_user_id()).
|
x : number
The position of the dialog on the horizontal X axis.
|
If omitted, the default of 0 is used.
|
y : number
The position of the dialog on the vertical Y axis.
|
If omitted, the default of 0 is used.