梦幻联动 Valve 开发者出手 为任天堂 Switch 2 控制器打造 Linux 驱动Valve Developer Builds a Linux Driver for the Nintendo Switch 2 Controller


AI free token/AI免费积分
感谢IT之家网友 华南吴彦祖 的线索投递!

IT之家 10 月 24 日消息,科技媒体 phoronix 昨日(10 月 23 日)发布博文,报道称在 Linux 7.14 内核合并请求中,针对 HID(人机接口设备)子平台的更新借助引入初步原生驱动兼容,首次添加兼容任天堂 Switch 2 控制器。

这项工作由开发者 Vicki Pfau 代表 Valve 完成,历经 16 轮补丁修改后进入 Linux 主线内核。该驱动当下可为 Joy-Con 2、Pro Controller 2 以及任天堂 Switch Online 版 GameCube 控制器给出基础输入兼容。

Valve copyright on Switch 2 Linux driver

IT之家援引博文介绍,Switch 2 控制器使用了较为特殊的分离式接口外观:按键输入与震动能力借助主 HID 接口处理,而其他通信则经由独立的规格接口完成。为适配这一结构,新驱动使用主从式分离驱动架构,由 HID 主驱动和规格接口辅助驱动共享设备资源。

Nintendo Switch 2 graphic

不过此次兼容仍处于早期阶段,由于 Switch 2 使用非标准蓝牙配对方式,且 Linux 内核现有蓝牙通信能力有限,蓝牙配对及更多高级能力尚未达成;后续还需外观内核与使用者空间之间的专用接口,并在 BlueZ 蓝牙协议栈中完成适配。

除 Switch 2 手柄外,Linux 7.4 的 HID 更新还新增了 Pulsar 游戏鼠标驱动,并改进了部分 AMD 处理器、苹果 Touch Bar 及华硕 ROG Ally 掌机的硬件兼容。

本文来源:https://www.ithome.com/1/017/330.htm
若有版权问题,请来信告知:13951431913#139.com 或在右方提交评论。

IT House October 24 news, science and technology media phoronix yesterday (October 23) published a blog post, reported that in the Linux 7.14 kernel merger request, the update for the hid (human-computer interface device) sub-platform by introducing preliminary native driver compatibility, for the first time to add compatibility with Nintendo Switch 2 controllers.

Valve copyright on Switch 2 Linux driver Nintendo Switch 2 graphic

暂无评论,快来发表第一条评论吧!No comments yet. Be the first!

📮 需求咨询📮 Inquiry