![](http://datasheet.mmic.net.cn/260000/PPSMMANUAL_datasheet_15946768/PPSMMANUAL_97.png)
19-2
Pen InCharacter Input Tools
Programmer’s Manual
Return Value
19.2
AdvOpenSoftKey
Syntax
STATUS
AdvOpenSoftKey
( U16 xPos, U16 yPos, U16 keyWidth, U16
keyHeight, U16 numCol, U16 numRow, P_U16 keyMap, P_U8
bitmap)
Description
Opens a soft keyboard module in a similar manner as the tool OpenSoftKey()
but with advanced configuration details. It allows the caller to specify:
location of the soft keyboard
timeOut
Length of time to wait between a written
stroke and recognition start in number of
milliseconds with range of 0 to 1000. If it is
zero, time-out is disabled. So, recognition
will only start after writing a stroke in
another input box.
samplingTime
It is the time between two pen samples. It
has range of 0 to 1000 milliseconds
areaClean
cleans after each character input or not
0 - do not clean
1 - clean
stackSize
the stack size of input pad subtask
Name
Description
PPSM_OK
Successful operation
PPSM_ERR_INPUT_PAD_OPENED
Input pad is already opened - by the same
task or its sibling sub-task or its parent
task.
PPSM_ERR_INPUT_PAD_WIDTH
Invalid width
PPSM_ERR_INPUT_PAD_HEIGHT
Invalid height
PPSM_ERR_INPUT_PAD_X_POS
Invalid X-coordinate
PPSM_ERR_INPUT_PAD_Y_POS
Invalid Y-coordinate
PPSM_ERR_PEN_RATE
Invalid pen sampling time
PPSM_ERR_PAN_INIT
Panning screen has not been initialized
PPSM_ERR_NO_MEMORY
Not enough memory
PPSM_ERR_TMOUT_VALUE
Invalid time out value
Name
Description
Personal Portable System Manager
Programmer’s Manual
18-15
Description
Switches on touch panel scanning for the current application. This will enable
all application active area scanning of the current task.
Return Value
Name
Description
None
Name
Description
None
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.