gpt4 book ai didi

c++ - windows 7触摸屏驱动,多显示器

转载 作者:行者123 更新时间:2023-11-28 08:03:39 27 4
gpt4 key购买 nike

我正在为 Windows 7 开发触摸屏驱动程序,当连接单个显示器时它工作正常,但当我连接第二个显示器时,触摸输入仅映射到主显示器。有什么方法可以将触摸输入映射到辅助显示器?

任何输入或指示将不胜感激?

最佳答案

据我所知,这在 Windows 7 中是不可能的,但根据 MSDN 的说法,在 Windows 8 中应该是可能的:

HID Descriptor for Digitizers

Starting with Windows 8, a touch digitizer must appear as a touch screen (page = 0x0D, usage = 0x04). A stylus digitizer must appear as an integrated pen (page = 0x0D, usage = 0x02) or an external pen (page = 0x0D, usage = 0x01). Integrated touch and pen devices are mapped to the display that they are physically connected to. External pen devices are mapped to the virtual desktop.

http://msdn.microsoft.com/en-us/library/windows/hardware/jj151564%28v=vs.85%29.aspx

关于c++ - windows 7触摸屏驱动,多显示器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10769374/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com