Emulator Navigation Keys
When the emulator is started, a representation of the hardware is shown around the emulator window. The hardware keys and controls form an important part of the user interface of a mobile device application. The mouse pointer interacts with this simulated hardware (clicking program keys or the navigation pad, for example). Some Pocket PC devices have four-way navigation pads and some have Up/Down rocker switches, so the simulated hardware includes both types of controls.
Windows Mobile software for Pocket PCs and the emulator keyboard drivers have been updated to support debugging and testing of mobile devices with add-on keyboards. Duplicating mobile device keystrokes on the development workstation's keyboard requires mapping two sets of navigation keys; one for duplicating the behavior of the device's navigation pad, with its Up/Down keys, and another for duplicating the behavior of the add-on keyboard's arrow keys.
Considering that one set of keyboard arrow keys is part of the numeric keypad, which is already used to duplicate the behavior of the mobile device's keypad (dialer), the PAGE UP and PAGE DOWN keys are used instead. The following table shows how keys on the development workstation's keyboard map to navigation keys on the mobile device.
Note Add-on keyboards for mobile devices have no F20 or F21 keys. Because Windows Mobile-based devices have no PAGE UP and PAGE DOWN keys, you don't need to use VK_PRIOR and VK_NEXT.
Keyboard key | Old behavior | New behavior |
---|---|---|
Number pad | Duplicate the behavior of the mobile device's keypad (dialing) keys. | Same. |
Arrow | Duplicate the behavior of the mobile device's navigation pad keys (Left, Right, Up, Down). | Duplicate the behavior of the arrow keys on an add-on keyboard. |
PAGE UP and PAGE DOWN | Not used. | Duplicate the behavior of the device navigation pad (Up and Down keys). |
Supported Command-Line Switches for the Emulator
Send feedback on this topic to the authors.
© 2005 Microsoft Corporation. All rights reserved.