實際索引控制器的按鈕修復
修復了訪問SteamVR儀表板後A按鈕從停止運行的問題。 無需自定義控制器綁定或其他依賴項。
截圖 共 1 張
模組介紹 作者原文
修復了訪問SteamVR儀表板後A按鈕從停止運行的問題。 無需自定義控制器綁定或其他依賴項。
打開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:)
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 這類遊戲沒有通用的模組管理器:有的模組直接替換遊戲檔案、有的放進遊戲專屬的 Mods 資料夾、有的要先裝遊戲對應的社群載入器或工具,以包內說明為準。
- 嚴格按說明放置檔案;標註「前置依賴」的模組需要把依賴一併裝好。
- 啟動遊戲確認載入成功;部分遊戲需要在設定或模組選單裡手動啟用。
不同遊戲、不同模組的安裝位置差異很大,包內說明是最可靠的依據。