XNA 的摇动手势库?

发布于 2024-11-19 02:27:30 字数 234 浏览 7 评论 0原文

我正在尝试在 XNA 项目上使用摇动手势库: 摇动手势库, 尽管这是一个四步过程,但我无法让它发挥作用。我在 HD7 和 Omnia7 上都试过了。

但是,当我运行示例时,它工作得很好。谁能告诉我我做错了什么?

I am trying to use the Shake Gesture Library on a XNA project:
Shake Gesture Library,
even though it's a four-step process, but I can't get it to work. I tried this on both HD7 and Omnia7.

However, when I run the sample it works perfectly. Can anyone tell me what I am doing wrong?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

恏ㄋ傷疤忘ㄋ疼 2024-11-26 02:27:30

您可能缺少 WMAppManifestFile 中的一项功能。您可以在解决方案资源管理器Properties文件夹中找到该文件。添加:

<Capability Name="ID_CAP_SENSORS"/>

功能部分。

You're probably missing a capability in your WMAppManifestFile. You can find this file in the Properties folder, from within the Solution Explorer. Add:

<Capability Name="ID_CAP_SENSORS"/>

in the Capabilities section.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文