Android 蓝牙触摸板仿真

发布于 2024-10-31 12:38:46 字数 167 浏览 0 评论 0原文

我正在考虑是否可以将我的 Android 设备用作普通计算机的触摸板(无需计算机端的特殊软件)。

你认为可以将安卓手机识别为电脑的蓝牙鼠标吗?我是否需要root我的手机或者Android SDK/蓝牙堆栈允许我做类似的事情吗?

我对这个话题很了解。有人可以给我提供一些有用的链接/信息吗?

I was thinking about the possibility to use my Android device as a touchpad with usual computers (without the need of special software on the computer's side).

Do you think it's possible to identify the android phone as a bluetooth mouse against a computer? Do I need to root my phone or does the Android SDK/bluetooth stack allows me something like that?

I'm knew to this topic. Does anybody can provide me some useful links / information ?

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

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

发布评论

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

评论(4

彡翼 2024-11-07 12:38:46

http://code.google.com/p/android-bluetooth-touchpad/

这正是我所做的。这是我的学士论文。你需要有 root 权限的手机和电脑端的 Linux。您不必在计算机上安装任何东西。它使用 HID 类驱动程序。

http://code.google.com/p/android-bluetooth-touchpad/

This is exactly what I have done. It is my bachelor thesis. You need a rooted phone and Linux on the computer side. You do not have to install anything on your computer. It uses the HID class drivers.

<逆流佳人身旁 2024-11-07 12:38:46

您需要在 Android 手机上支持蓝牙 HID 配置文件,并且还需要让手机充当 HID 设备,即支持蓝牙 HID 设备角色。

Honeycomb 正式支持 HID。请参阅此 - Android 蓝牙功能
我认为当前的支持仅适用于 HID 主机角色,即键盘/鼠标等与手机连接和输入。

此外,目前还没有公开 API 供应用程序访问。

You will need is Bluetooth HID profile support on the android phone, and also for the phone to act as a HID device i.e support the Bluetooth HID device role.

HID is officially supported in honeycomb. See this - Android Bluetooth Features
I think the current support is only for HID host role , i.e. for keyboards / mice etc to connect with and input to the phone.

Also currently there are no APIs exposed for applications to access.

熊抱啵儿 2024-11-07 12:38:46

是的,可以做到,它通常被称为 HID 优于 GATT
Play 商店中至少有一款应用可以实现此目的< /a>.无需root,PC端无需安装任何软件。
我可以找到两个实现此类解决方案的 GitHub 存储库:

虽然它们都没有维护多年,所以公平地说假设它们不会编译并开箱即用。

Yes it can be done, it is often referred to as HID over GATT.
There is at least one app on the Play Store that does that. No root needed, no software on the PC side to install.
I could find two GitHub repositories implementing such solutions:

Though neither of them have been maintained in years so it is fair to assume they won't compile and work out of the box.

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