beautypg.com

Keypad, Keypad overview – Rockwell Automation 2711P Software Development Kit User Manual User Manual

Page 69

background image

Publication 2711P-UM005A-EN-P - March 2007

PanelView Plus CE-Specific Extensions to the WinCE API 69

Keypad

These functions support front panel connected keypads and the
interface to the Rockwell supplied keypad handler.

Keypad Overview

PanelView Plus CE keypads are intended to function with many of the
same features as normal keyboards, such as supporting typical
modifier mappings of standard keys and supporting configurable
auto-repeat functionality. In addition, the keypad functionality has
some Rockwell proprietary features:

• Support for multiple types of keypads based on an identifier in

the EEPROM. Different keypads may have different scan code to
virtual key mappings.

• Non-standard keys. For example, K1-K16 programmable

function keys or the unique navigation keys formed by the
simultaneous press of ALT with an Up, Down, Left, Right arrow
key. These are non-standard for a keyboard, but are present on
the PanelView Plus CE keypad.

• Support for mapping single key presses into multiple key

macros at the virtual key level.

• Support for other behavior on key presses such as running

programs.

• A ‘single-key’ mode where holding down a key of a certain type

may prevent other types of key presses from being handled.

• A ‘hold-off’ mode where after a key is released, further presses

of it will be ignored for some amount of time.

These features are non-standard keyboard behaviors, so an extension
to the keypad driver is required. Also, the high degree of
configurability needed for keypads, macros, functions, etc. means
even further flexibility by calling up to a higher level keypad handler
outside of the operating system layer.