windows ce下触摸屏驱动实现的分析(Implementation of touch screen driver under Windows CE).docVIP

  • 2
  • 0
  • 约1.01万字
  • 约 8页
  • 2017-10-05 发布于河南
  • 举报

windows ce下触摸屏驱动实现的分析(Implementation of touch screen driver under Windows CE).doc

windows ce下触摸屏驱动实现的分析(Implementation of touch screen driver under Windows CE)

windows ce下触摸屏驱动实现的分析(Implementation of touch screen driver under Windows CE) 1. Preface Touch screen is a commonly used computer input device in embedded devices. It can make the operation simple and intuitive, and everyone can use it. It cant compare with keyboard or mouse. In mobile phones, PDA and other handheld products and public service equipment, a large number of touch-screen. Touch screen is divided into resistance type, capacitive type, surface acoustic wave type and so on. The resistive touch screen is one of the more widely used now. It has four lines, five lines, seven lines and so on. This paper will analyze the touch-screen driver model and implementation method under Windows CE operating system. 2. Windows CE touch-screen driver model In the Windows CE operating system, touch screen drive is a layered drive. The drive model is shown in figure 1. The top layer is the model device driver (Model, Device, Driver, MDD), and the lower layer is a platform dependent driver (Platform, Dependent, Driver, PDD). MDD usually does not need to modify the PDD layer directly to use the MDD link and defines the function interface that it wants to call: device driver provider interface (Device Driver Service Provider Interface, DDSI). At the same time, MDD provides different sets of functions to the operating system, which are called device driver interfaces (Device, Driver, Interface, DDI), which is part of what we usually drive to implement. 3 Windows CE touchscreen driver interface The touchscreen drive for Windows CE links the two static link libraries of tch_cal.lib and tchmdd.lib. The touch screen driver is loaded by GWES, and the GWES acquires the device state through the DDI calling driver, sets the drive function and so on, and drives itself to obtain the hardware information directly through DDSI to determine the status of the current touch screen. Windows CE DDI touch screen driver interface requirements include: TouchPanelGetDeviceCaps, TouchPanelEnable, T

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档