
Chapter 7: Keyboard and Keyboard Remapping
Windows Mobile, and Windows CE, Virtual Keys
59
Psion Mobile Devices Developers Guide
7.2.4 Windows Mobile, and Windows CE, Virtual Keys
For information on virtual key codes on Windows Mobile, and Windows CE, systems see msdn.micro-
soft.com/en-us/library/bb431750.aspx
7.2.5 Windows Mobile Virtual Keys on Psion Computers
Some virtual keys, that are available to applications running under Windows CE, are not passed onto appli-
cations by Windows Mobile systems. These virtual keys are captured, and interpreted, by the Windows
Mobile operating system.
Function keys
All the function keys, FN1 to FN64, are captured by Windows Mobile systems. On Psion computers the
virtual key codes for the function keys are converted to private Unicode characters. See
Section 7.2.3 Unicode Values for Psion Proprietary Keys on page 55 for a list of these Unicode characters.
For example, when FN1 is pressed, the U+E001 character is passed to the application. This is 57345 in
decimal. This results in the following string being passed to the application:
[ALT][0][5][7][3][4][5][ALT]
7.2.6 Getting Started with Key Remapping
For articles on Ingenuity Working that will guide you in getting started with key remapping see:
community.psion.com/tags/keyboard/noteDG
7.2.7 Code Samples for Key Remapping
For postings on Ingenuity Working that contain code samples that contain key remapping see:
community.psion.com/tags/keyboard/codeDG
7.2.8 Keyboard Remapping API Elements
C++: The keyboard remapping on all Psion computers is controlled using the
PsionTeklogix::Keyboard::KeyRemapper class.
Java: The keyboard remapping on all Psion computers is controlled using the
com.teklogix.keyboard.KeyRemapper class.
.NET: The keyboard remapping on all Psion computers is controlled using the
PsionTeklogix.Keyboard.KeyRemapper class.
7.3 Key Insertion
Key insertion permits a command key or a modifier key, with another optional related key, to be inserted
into an input field. The following command keys and modifier keys can be inserted:
Before this feature is invoked, the focus must be on the relevant input field.
This feature is typically used for the following, described in further detail below:
• In application lock-down mode, displaying key presses in alpha mode.
• Reversing an accidental press of the [BLUE] key or the [ORANGE] key.
• As a keyboard wedge.
•Blue
•Orange
•Shift
•Control
•Alt
• Send unshifted code
• Send shifted code
• Contrast up
• Contrast down
• Volume up
•Volume down
• Scanner on
•Terminal off
• Backlight cycle up
•Macro
• Send unicode
• Backlight brighter
• Backlight dimmer
• Backlight cycle down
•System power state
• Send DPad code
•Trigger
Kommentare zu diesen Handbüchern