简体   繁体   English

Android Things是否支持PS / 2鼠标或具有其库?

[英]Does Android Things support PS/2 mouse or have library for it?

I've just started playing with Android Things and noticed that I could not find anything about PS/2 support in its library. 我刚刚开始玩Android Things,并注意到我在其库中找不到有关PS / 2支持的任何信息。 I am trying to hook up a TPM754 trackpoint module to my RPI3 so that I can possibly write a drive so I can use it. 我试图将TPM754跟踪点模块连接到RPI3,以便可以编写驱动器以便使用它。

As far as I am aware, the TPM uses PS/2 to communicate. 据我所知,TPM使用PS / 2进行通信。 Is there a way to do that in Android Things? 有没有办法在Android Things中做到这一点? I am not so experienced in programming a hardware so I do not see the overall steps I need to take to achieve what I want to do. 我对硬件的编程没有那么丰富的经验,因此我看不到要实现自己的目标需要采取的总体步骤。 So, I am learning as I go and would really appreciate if someone could give me a big picture. 因此,我正在学习中,如果有人能给我一张完整的照片,我将不胜感激。

Can someone give me pointers? 有人可以给我指点吗?

似乎最简单的方法是使用硬件适配器PS / 2到USB(像 ),或者如果没有TPM754经由USB不作品-一对连接器的PS / 2的至RS-232(如 RS-232 UART到)和(等 )(也PS / 2至UART适配器存在,但似乎他们更昂贵),或更特殊的转换器(例如PS / 2到I2C)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM