屏幕保护程序+触摸屏HID输入 [英] Screensaver + Touchscreen HID Input

查看:183
本文介绍了屏幕保护程序+触摸屏HID输入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试创建一个启用了触摸屏的屏幕保护程序,该屏幕保护程序是默认的(没有人登录)屏幕保护程序。  (Windows 7系统)。

I'm trying to create a touch screen enabled screensaver that's active as the default (no one logged in) screensaver.  (Windows 7 system).

我有屏幕保护程序和

- 如果我已登录,它就可以使用。 

- it works if I am logged in.  

- 它有效如果我已登录并锁定。

- It works If I am logged in and locked.

但是,如果我已退出,它运行正常,但只会接收鼠标输入并忽略触摸屏。

But, if I am logged out, it runs fine, but will only receive Mouse Input and ignores the touch screen.

当你触摸时,触摸驱动程序显示为已加载它会对登录屏幕作出反应并移动指针。  但是当屏幕保护程序激活时...触摸被禁用。

The touch driver appears loaded as when you touch on the login screen it reacts and moves the pointer.  But when the screensaver activates... touch is disabled.

我希望这只是我可以控制的驱动程序配置,或者在最坏的情况下我需要告诉我的应用程序唤醒触摸屏。

I am hoping this is just a driver configuration I can control or at worst I need to tell my application to wake up the touch screen.

我担心我将不得不实际注入我的应用程序并自行处理所有触摸。

I fear I am going to have to actually rawinput register my application and handle all the touches myself.

任何人都有任何建议类似的问题。

Anyone have any suggestions of similar problems.

推荐答案

您好,

感谢您在此发帖。

据我所知,你可以创建一个可以监控鼠标事件和触摸驱动程序事件的屏幕保护程序。

As far as I know that you can make a screensaver application which can monitor mouse event and touch driver event.

对于监控鼠标事件,您可以使用
描述系统的鼠标输入
为应用程序提供鼠标输入,以及应用程序如何接收和处理输入。

For monitor mouse event, you can use the Mouse Input that descripts the system provides mouse input to your application and how the application receives and processes that input.

有关显示器触摸事件,请参阅
触摸输入

Windows Touch消息入门
 。

For monitor touch event, please see the touch Input and Getting Started with Windows Touch Messages .

如果您在开发软件时遇到一些问题,请随意联系我

If you encounter some issue when developing software, please feel free to contact me.

最好的问候,

Hart


这篇关于屏幕保护程序+触摸屏HID输入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆