当Kinect是唯一的输入时,如何防止屏幕保护程序 [英] How to prevent screen saver when the Kinect is the only input
本文介绍了当Kinect是唯一的输入时,如何防止屏幕保护程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个专门用于输入的Kinect应用程序。在没有触摸键盘或鼠标的情况下,在设定的分钟数后,屏幕保护程序将打开。有没有办法将Kinect与屏幕保护程序的输入监视联系起来,或以
a编程方式保持屏幕保护程序不被触发?
I've got an application that uses the Kinect exclusively for the input. After the set number of minutes without touching the keyboard or mouse, the screen saver turns on. Is there a way to tie the Kinect to the input monitoring for the screen saver, or a programmatic way to keep the screen saver from triggering?
推荐答案
为什么不禁用屏幕保护程序?
Why don't you just disable the screensaver?
更新:好像有某种形式的win32 API可以做到这一点,但你会有使用Interop。您可以查看
this 。
UPDATE: Seems like there is some form of win32 API to do this but you'll have to use Interop. You can look at this.
这篇关于当Kinect是唯一的输入时,如何防止屏幕保护程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文