Jump to content

[Partially solved] Changing the orientation of a controller either in DCS or in steam VR


Recommended Posts

Posted (edited)

UPDATE for anyone else who might want to use a vive tracker glove:

While it is true that editing anything in plus X makes the tracker flip 180, editing plus Z is different.

        "plus_z": [
            0,  This flips your tracker upside down for some reason  
            0,  This does allow you to rotate the tracker on a single axis, read below
            -1  This also flips your tracker upside down

I had thought the middle one simply did nothing, as I was putting small values (0.1 and such) in because values like that are what the default values on this and my other VR controllers.  It turns out these small values ARE rotating it, just so slightly I didn't notice and thought it did nothing.  This setting rotates it along an axis which essentially cuts through the tracker from the charging port to the other side of the tracker (lets call this X for the sake of discussion).  By setting this to 1.5 I can allow the tracker to rotate enough that the pointer finger in DCS roughly matches my pointer finger and so it is usable.  You can get rotation on the axis of the screwhole (let's call this Y) by just rotating the tracker.  Rotation along the Z axis in this context is something I can't figure out, as every other setting just 180's your tracker as soon as you change it, no matter how much you change it.  This means the ingame hand and my hand are out of synch about 45 degrees along the axis of wrist rotation.  It's not the end of the world but it is undesirable.  I'd like to figure out a way to avoid this.

UPDATE 2:  The way to get it so the laser pointer is always on is to take another controller and bind one button on it as a toggle action for "Left grip button" and another button on it as a toggle action for "Right grip button", these toggles make the button stay on and the toggles persist even after the controller is turned off (though as I currently only have 1 tracker I do not know what will happen when I get a second tracker that replaces the controller I used to toggle these on)

 

Hello, I have been wanting to make a pair of tracking gloves for a while, so I figured I'd get a vive tracker (since I saw someone on this forum suggest it).  Unfortunately the tracker does not work with DCS as a tracker.  This is fine because you can edit its config json to get it to register as a controller, which now makes it work with DCS unfortunately the angle of the hand is completely wrong.

 

Now there are coordinate information on the tracker's config file, however they do not seem to do anything logical

The layout is;

    "head": {
        "plus_x": [
            1,  (Didn't seem to do anything).
            0,
            0
        ],
        "plus_z": [
            0,  (If you change any of these, the controller appears inverted on the vertical axis, that is all any of these do)    
            0,
            -1
        ],
        "position": [  (As the name suggests, all of these are positional offsets, one for each axis)
            0,  
            0,  
            -0.005000000013038516  

 

Unfortunately every time you want to edit it, you have to come out of steam VR, unplug your headset, plug in the tracker, then upload the new config file, then plug your headset back in, then see what effect it had.  This is wearing out the sockets and causing odd behaviour in my PC from doing it so rapidly.

It is wierd as well, since there is a valve dev page describing the JSON, and the way it describes these is that they're simple -1 - +1 rotation and position values, so you should be able to rotate the controller by changing them, but any change from the default on the Plus X or Plus Z sections just makes the controller inverted.  It doesn't make sense.

https://github.com/ValveSoftware/openvr/wiki/The-JSON-File-(Lighthouse-Devices)

 

I am wondering, does anyone have any idea how you actually reorient a VR controller in this game?

Also is it possible to have it so a VR controller's laser pointer is always active while the controller is visible?  Since it is a tracker it has no buttons.

Edited by James DeSouza
Partially solved
  • James DeSouza changed the title to [Partially solved] Changing the orientation of a controller either in DCS or in steam VR
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...