会员登录

自动登录   |    忘记密码 新会员注册

实际索引控制器的按钮修复

作者:Holger Frydrych
发布:LUOHUISHU98
发布日期:2019-11-05 12:24:11
更新时间:2019-11-05 12:24:11
头像
1146
497 人收藏
2107 次下载
5714 次浏览
1.0
上古卷轴5:重置版
本地下载 高速下载 需要优先下载下载器,50%提速

打开SteamVR仪表板时,有一个公开的SteamVR错误使索引控制器的A按钮在Skyrim und Fallout 4 VR中不起作用。当前的解决方法将A按钮重新映射到其他一些输入,并建立新的控制器绑定以保持A按钮的功能。


此修复程序掩盖了实际的SteamVR错误,并确保Skyrim无论如何仍会收到A按钮输入。只需将提供的openvr_api.dll放在您的SkyrimVR安装目录中,替换游戏随附的那个(进行备份,以防万一)。不需要自定义控制器绑定或其他依赖项。尽管您当然仍然可以使用自定义绑定,但是如果您愿意的话,它们就不再需要重新映射A按钮了:)


技术背景


在OpenVR(用于与SteamVR通信的库)中,有一个查询VR控制器支持的输入(按钮和轴)的功能。 Skyrim(和Fallout 4)每帧都会查询此功能。为什么?我不知道;您不会期望此信息在游戏过程中发生变化。但是,具有讽刺意味的是,这正是由于SteamVR漏洞而发生的事情:如果您打开SteamVR仪表板,则此功能之后不再将A按钮报告为受支持!但是,仍会生成A按钮的输入事件并将其转发给游戏。 Skyrim只是选择忽略它们,因为它认为您的控制器没有A按钮。


此修复程序提供了一个自定义的openvr_api.dll,可拦截上述调用,并确保无论如何始终将A按钮报告为受支持。结果,Skyrim继续处理A按钮事件。最终,我们只能希望Valve能够解决SteamVR中的潜在错误,因此不再需要这种解决方法:)

————————————————————————————————————————

There is an open SteamVR bug that makes the Index controllers' A buttons non-functional in Skyrim und Fallout 4 VR when you open the SteamVR dashboard. Current workarounds remap the A buttons to some other input and build new controller bindings to keep the A button functional.

This fix masks the actual SteamVR bug and ensures that Skyrim still receives A button input, no matter what. Just place the provided openvr_api.dll in your SkyrimVR installation directory, replacing the one shipped with the game (make a backup, just in case). No custom controller bindings or other dependencies are required. Although you can of course still use custom bindings, if you like - they just don't have to remap the A button anymore :)

Technical background

In OpenVR (the library used to communicate with SteamVR) there is a function to query the supported inputs (buttons and axes) of a VR controller. Skyrim (and Fallout 4) queries this function every frame. Why? I have no idea; you wouldn't expect this information to change during a game session. Ironically, though, this is exactly what happens due to an open SteamVR bug: if you open the SteamVR dashboard, then afterwards the function no longer reports the A button as supported! However, input events for the A button are still generated and forwarded to the game. It's just that Skyrim chooses to ignore them, because it thinks your controllers have no A button.

This fix provides a custom openvr_api.dll that intercepts the aforementioned call and ensures that the A button is always reported as supported, no matter what. As a result, Skyrim keeps handling A button events. Eventually, we can only hope that Valve will fix the underlying bug in SteamVR, so that this workaround will no longer be necessary :)

原贴地址
1.版本号: 1.0   更新时间: 2019-11-05 12:48:29

评论
暂未开放,敬请期待
ta的精品
logo

实际索引控制器的按钮修复


Mod大小:46.8 KB
上传时间:2019-11-05 12:24:11

Mod简介:

暂无更多介绍


closeAD