如何访问 Windows Mobile 设备的加速计?

发布于 2024-10-09 06:23:27 字数 202 浏览 0 评论 0原文

我已成功将基于 Qt 的 C++ 应用程序移植到我女朋友的 Windows Mobile 设备上。 (三星 Omnia 2。)

但是,Windows Mobile 似乎不支持 Qt Mobility Sensors API,因此需要加速计的应用程序的特定功能无法正常工作。

问题是,如何从 C++ 应用程序访问 Windows Mobile 设备的加速度计?

I've successfully ported my Qt-based C++ application to my girlfriend's Windows Mobile device. (A Samsung Omnia 2.)

However, it seems that the Qt Mobility Sensors API is not supported on Windows Mobile, so the application's specific features that would require the accelerometer are not working.

The question is, how to access the accelerometer of a Windows Mobile device from a C++ application?

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

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

发布评论

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

评论(1

怪我入戏太深 2024-10-16 06:23:27

如果您的 Omnia 2 有 WM 6.5 更新,您可以使用统一传感器 API 这里

If your Omnia 2 has WM 6.5 Update you may use the unified sensor API here

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