Documentation  |   Table of Contents   |  < Previous   |  Next >  

62    Keyboard.h

Porting Applications to Palm OS® Cobalt

Exploring Palm OS®

In Palm OS Cobalt the on-screen keyboard is a pinlet. Thus, the keyboard functions (which were for the most part "system use only" have mostly been replaced by the more general-purpose Pen Input Manager functions, which are available for use by applications. See Chapter 10, "Pen Input Manager," of Exploring Palm OS: Input Services for the set of APIs declared by the Pen Input Manager, and Chapter 2, "Working with the Dynamic Input Area," of that same book for information on working with the dynamic input area in general.

Deleted APIs ^TOP^

Table 62.1  Deleted functions 

Deleted API

Use instead

KbdDraw()

Nothing. This function was documented as "System Use Only."

KbdErase()

Nothing. This function was documented as "System Use Only."

KbdGetLayout()

Nothing. This function was documented as "System Use Only."

KbdGetPosition()

Nothing. This function was documented as "System Use Only."

KbdGetShiftState()

Nothing. This function was documented as "System Use Only."

KbdHandleEvent()

Nothing. This function was documented as "System Use Only."

KbdSetLayout()

Nothing. This function was documented as "System Use Only."

KbdSetPosition()

Nothing. This function was documented as "System Use Only."

KbdSetShiftState()

Nothing. This function was documented as "System Use Only."

KeyboardStatusFree()

Nothing. This function was documented as "System Use Only."

KeyboardStatusNew()

Nothing. This function was documented as "System Use Only."

SysKeyboardDialogV10()

SysKeyboardDialog()

Table 62.2  Deleted structures

Deleted API

Use instead

KeyboardStatus

Nothing. This was an internal structure that was not to be used by applications.

Table 62.3  Deleted #defines 

Deleted API

Use instead

kbdBackspaceKey

Nothing. This constant was not to be used by applications.

kbdCapsKey

Nothing. This constant was not to be used by applications.

kbdNoKey

Nothing. This constant was not to be used by applications.

kbdReturnKey

Nothing. This constant was not to be used by applications.

kbdShiftKey

Nothing. This constant was not to be used by applications.

kbdTabKey

Nothing. This constant was not to be used by applications.

KeyboardCapslockFlag

Nothing. This constant was not to be used by applications.

KeyboardShiftFlag

Nothing. This constant was not to be used by applications.

Modified APIs ^TOP^

Table 62.4  Modified enumerated types

Modified API

Description of change

KeyboardType

Formerly an enum, this is now a typedef that takes one of the values defined by the new KeyboardTag enum.

Unchanged APIs ^TOP^

Table 62.5  Unchanged functions

SysKeyboardDialog()