5-4
ChCharacter Input Methods
Programmer’s Manual
break;
/* Close keyboard icon selected */
case IRPT_ICON:
if (id == CloseIconId)
CloseSoftKey();
break;
/* no more interrupt */
default:
break;
} /* switch */
} /* while */
5.2
Handwriting Recognition Input Pad
The handwriting recognition input pad consists of a number of square boxes in a
row by column format layout (refer to Figure 5-3).
It serves as an interface between the user and the underlying handwriting
recognition engine. It captures the stroke data generated from the user’s
handwriting input, and passes these data to the handwriting recognition engine for
processing. (Refer to
Figure 5-4
for the flow of input and output data passing
through the input pad).
Figure 5-3 An Example Input Pad with 1 row by 4 columns layout
Personal Portable System Manager
Programmer’s Manual
5-1
Chapter 5
Character Input Methods
PPSM supports two types of input methods for applications to receive character
input from the user. There is a soft keyboard for typed English character and
numeric input, and an input pad for handwritten character input. The input pad will
support any coded language that the handwriting recognition engine supports.
This chapter describes the mechanism of the input methods and the Character
Input Tools provided by PPSM to support them.
5.1
Soft Keyboard
A default QWERTY soft keyboard with key size of 15x15 pixels can be opened at
any position within the panning screen. There are two soft keyboard layouts: one
for upper case letters and numbers (refer to
letters and symbols (refer to
). The user can toggle between the two
layouts by pressing one of the SHIFT buttons.
); the other for lower case
As an alternative, an user may define its own keyboard with required number of
column and row in number of keys, key width and height in number of pixels, user
defined return keycode and the bitmap needed to be used for the soft keyboard.
1 2 3
Q W E
A S D
SHIFT
Z X
Figure 5-1 Upper Case Soft Keyboard Layout
Figure 5-2 Lower Case Soft Keyboard Layout
SHIFT
z x
a s d
q w e
! @ #
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.