WinCEGeräteSE_Handbuch_Programmierung_v3.00_EN
27 / 65
5.6 Keyboard
The keyboard on Windows CE devices have two keyboard layers similar to the shift (Shift-) key on
a standard computer keyboard that shifts between upper- and lowercase letters. It is also possible to remap
certain keys on the keyboard and save functions, special characters or other character strings in diverse
combinations. You can also execute any programs by pressing buttons.
The \flashdisk\system\ini\keyb.ini file is used to map the keys. The key parameter can be entered on the
right of the mapping character.
k_8 =
Set the default layout (here “8”)
k_9 = [\flashdisk\myapp.exe]
Execute myapp.exe program
k_0 = "<back>"
Delete back
k_f1 = "<F1>"
Insert F1 key
k_f2 = "END"
Add letter string “END”
k_f3 = ""
Do not add character (blank definition)
k_sca = "<intscanner>"
Press and hold down left scanner key; reported to
application with messages
Table 6 – keyboard mapping
•
k_ represents the directly accessible key layer (example “k_8” for key 8)
•
s_ represents the key layer that is accessible with the shift key (example “s_8” for shift key 8)
For more detailed information on the features one-finger operation, alphabetic keyboard, keyboard beep and
lock, please consult the administration manual.
Functions to operate the keyboard can also be configured via API: In the acddev header file keyboard.h,
functions are listed that support the use of the keyboard lock, alphabetic key behaviour, insertion and
activation of a “keyb.ini”s.
A USB keyboard can be connected to devices with an external USB interface. Virtually all keys can be used
here. However they cannot be remapped in the same way.
The scanner is not triggered directly. Windows Messages is used to report when the key(s) defined to
trigger the scanner is/are pressed (see the acddev header file intscanner.h). The application triggers the
scanner over the scanapi.dll scanner interfaces. This same applies to RFIDread; the identifier
<rfid>
is
used here.
The standard configuration of the ScanDrv.exe scanner driver launched by default functions in this way.
Note
Enter the magic code 19011972 in the status bar to reload keyb.ini and dev.ini. To
do this, highlight the status bar (by tapping on it) and enter the code on the
keyboard / screen keypad.