The PDA Module supports the following VI events:
You can use the VI key events to capture button input.
Only the ScanCode and VKey event data fields are returned. A scan code is a device-dependent number that identifies a key on the keyboard or a button on the device. A virtual-key code is a device-independent number that identifies a key on the keyboard or a button on the device. Windows Mobile uses a core set of virtual-key codes that are common for all keyboards. A keyboard driver translates the scan code to a virtual-key code.
![]() |
Note The scan code always returns 0 on Windows Mobile devices, but the virtual-key code contains valid data. This is not an issue on emulators. |
The Windows Mobile OS maps some of the buttons on a PDA target to certain applications, for example, a calendar application. The PDA Module does not modify these mappings when you use key events.
The PDA Module supports the following Control events:
The PDA Module does not support direct stylus events. However, you can use the Mouse Up, Mouse Down, and Mouse Move events in a picture control to capture stylus events.