次の方法で共有


Keyboard and Mouse Drivers (Compact 2013)

3/26/2014

The keyboard driver converts input from the keyboard hardware into keyboard events that the driver enters into the Graphics, Windowing, and Events Subsystem (GWES). The driver is also responsible for generating the proper Unicode characters from these keyboard events. The keyboard driver is different from other device drivers because it is language dependent. Windows Embedded Compact keyboard drivers encapsulate mouse drivers. Mouse drivers convert input from the mouse hardware, such as cursor movement, button clicks, and mouse wheel presses, into mouse events.

To add this feature to your OS, see Keyboard and Mouse Driver Catalog Items.

For reference information, see Keyboard and Mouse Driver Reference.

Sample application code is available at %_WINCEROOT%\Public\Common\OAK\Drivers\Keybd. This directory contains the source code for translation libraries for standard multifunction keyboards with 101 keys. This source code is built into hardware interface libraries for PS/2 8042 keyboard controllers and for hardware platforms with no keyboard controllers. The Nop subdirectory is for hardware platforms without a keyboard controller.

The recommended location for your driver implementation is %_WINCEROOT%\Platform\<BSP Name>\Src\Drivers\Keybd.

For more information on the Windows Embedded Compact Test Kit (CTK) tests that apply to this type of driver, see Input - Gesture, Mouse, Touch Driver Tests.

See Also

Other Resources

Device Drivers