[英]Can you use multiple phones to control the same Android TV unit?
If I have a Nexus Player, and connect to it with more than one phone ( Using Android TV Remote Control ), is it possible to distinguish between each controlling unit in the code? 如果我有Nexus Player,并且用多部电话连接到它( 使用Android TV遥控器 ),是否可以区分代码中的每个控制单元?
(It would make for a cool way to do multi-player games without the need for expensive game pads - friends can just use their phones) (这将是一种无需使用昂贵的游戏手柄即可进行多人游戏的好方法-朋友们只需使用手机即可)
Yes, you can do this. 是的,您可以这样做。 Each input device is given a unique identifier when connecting to an Android device (including the Nexus Player). 连接到Android设备(包括Nexus Player)时,每个输入设备都会获得一个唯一的标识符。 Refer to the documentation here . 请参阅此处的文档。 I believe there are already multiplayer games on the Nexus Player which accomplish this (seen here ). 我相信Nexus Player上已经有多人游戏可以完成此任务(请参见此处 )。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.