Please enable JavaScript to view this site.

CWT User Interface Design Handbook

Navigation: Appendices > Key mapping > CWT 2110 and CWT 2115

CWT 2110 and CWT 2115 Alpha-numeric keys

Scroll Prev Top Next More

The ID numbers of the CWT 2115 alpha-numeric keys are shown in the figure below.

Figure 38, CWT 2115 alpha-numeric key ID numbers

Figure 38, CWT 2115 alpha-numeric key ID numbers

The text input keys are statically mapped to execute the click action OnKeyAddText. This click action appends the character defined in KeyValue to a TextBox in the currently visible panel. In this way the id of the physical piezo key can be mapped to a character.

In the example below the physical key with Id 18 is mapped to input the character A, the key with Id 17 is mapped to input the character B, etc.

<Stn:KeyboardButton Id='18' KeyValue='A' Click='OnKeyAddText'/>
<Stn:KeyboardButton Id='17' KeyValue='B' Click='OnKeyAddText'/>
<Stn:KeyboardButton Id='16' KeyValue='C' Click='OnKeyAddText'/>

All keys that shall be used for character input are defined as in the examples above. Usually, one button is allocated as a delete button that erases the last appended character in the TextBox in the currently visible panel. The delete key is defined as a KeyboardButton with the Id that matches the physical position on the keyboard and the click action is set to OnKeyDeleteLast.

Example definition of the delete key with Id 38 and click action OnKeyDeleteLast:

<Stn:KeyboardButton Id='38' Click='OnKeyDeleteLast'/>