ValveSoftware / openvr

OpenVR SDK
http://steamvr.com
BSD 3-Clause "New" or "Revised" License
6.12k stars 1.28k forks source link

Specification for SteamVR bindings JSON file? #1513

Open romanshuvalov opened 3 years ago

romanshuvalov commented 3 years ago

On the Wiki there is a page describing action manifest JSON files: https://github.com/ValveSoftware/openvr/wiki/Action-manifest

But there is no page describing binding files.

Meanwhile, we have

Any chances to get full specification?

Thank you.

okawo80085 commented 3 years ago

And not to mention:

There are still way too many unknowns about binging profiles, and the go to solution seems to be to use the profiles shipped with SteamVR, which is very limiting and plain wrong, but currently it is the only way to have your controllers be recognized by apps properly

RongNianXin commented 2 years ago

Hello, I am also looking for the answer to this question, can share it if you know it now? And my e-mail address is 944214432@qq.com Thanks a lot!

danwillm commented 2 years ago

https://github.com/danwillm/openvr/tree/sample-driver-improvements/samples/driver_sample

I have some documentation here that I've made for some of the input profile binding options, feel free to reach out if you think anything else could be added to it.

RongNianXin commented 2 years ago

Thank you very much! In addition, I would like to ask: I’m a beginner in Openvr. Yesterday I used HTC VIVE to press the button and the console outputs Hello World. For me, It is far from beginning. My current way of learning is to read the github open source program. If you have a good learning path, I hope you can share it. thanks again.

Rong Nianxin from China

------------------ 原始邮件 ------------------ 发件人: "ValveSoftware/openvr" @.>; 发送时间: 2021年12月9日(星期四) 晚上6:05 @.>; @.**@.>; 主题: Re: [ValveSoftware/openvr] Specification for SteamVR bindings JSON file? (#1513)

https://github.com/danwillm/openvr/tree/sample-driver-improvements/samples/driver_sample

I have some documentation here that I've made for some of the input profile binding options, feel free to reach out if you think anything else could be added to it.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

MichauCorp commented 1 year ago

Hello, i am looking for some up to date docs on input bindings in openvr and this thread was one of the only things i found. unfortunately, this link(https://github.com/danwillm/openvr/tree/sample-driver-improvements/samples/driver_sample) doesnt seem to work for me, so if you guys have anything it would be really helpfull.

thx in advance :)

danwillm commented 1 year ago

Hi, that's because it moved to this repo. You can find some information on binding profile here: https://github.com/ValveSoftware/openvr/blob/master/docs/Driver_API_Documentation.md#binding-profiles

Let me know if that helps and if you need further clarifications. Thanks!

MichauCorp commented 1 year ago

tysm for responding so quickly! that should help me a lot, though if its not a hassle, i also have the most recent open issue about how to make the bindings work with my driver.

essentialy its the same as this (https://github.com/finallyfunctional/openvr-driver-example/tree/main), with the runframe function used for mapping BT inputs into joystick movement.

it works fine in the "test controller" in the steamvr options, and for legacy_bindings like for vrchat, but for other stuff like blade and sorcery it doesnt do anything.

of course, ill take time to view the docs and try to solve it myself, but if u have any advice or ways to deal with this it would also be tremendous.

thx again.