openvr icon indicating copy to clipboard operation
openvr copied to clipboard

help with input_profile / bindings

Open MichauCorp opened this issue 1 year ago • 2 comments

Hello.

This is less of an issue and more of a question and call for guidance.

I am currently trying to develop my own custom device and an openvr driver for it. I am using this (https://github.com/finallyfunctional/openvr-driver-example) as a template, and have slightly modified it to map BT inputs to the "joystickYHandle".

My problem is with the input_profiles and bindings. For some game, like VRChat, steamvr immediatly recognizes the "legacy_bindings_exmaple" and works perfectly, while something like blade and sorcery is just blank.

Im still having some trouble grasping how to make it, so if you can help with making the bindings correctly (JSON & steamvr options) in accordance to the driver it would be tremendous.

thx in advance :)

MichauCorp avatar Jun 28 '23 12:06 MichauCorp

You can (and need to) use the SteamVR bindings interface to create bindings for individual apps. From the interface, you can export binding files to ship with your driver.

You can either access the bindings interface in the SteamVR settings, or here: http://localhost:27062/dashboard/controllerbinding.html

danwillm avatar Jul 04 '23 15:07 danwillm

ive tried using the interface to create all sorts of bindings for blade and sorcery, but none worked. even though it should be a simple thing using only an implementation of the joystick.

unfortunately i have to wait until the weekend to work on it, but even then im not really sure how to aproach it

MichauCorp avatar Jul 04 '23 17:07 MichauCorp