alvr-org / ALVR

Stream VR games from your PC to your headset via Wi-Fi
MIT License
5.23k stars 470 forks source link

Feature Request: Controller Offset Separation & Profiles #2254

Open Xentha opened 1 month ago

Xentha commented 1 month ago

Hopefully not too troublesome of functions to consider; I find it odd that controller offset is labeled 'Left Controller' when it affects both. Would it be too much hassle to have two separate sets, one for each controller? Likewise, not every game has internal offset adjustment, nor necessarily has the same default as another. It would be nice to be able to save offsets as a profile to swap between when necessary. At the moment the best way to do that is to write down the values and manually enter them.

zarik5 commented 1 month ago

The controller offset is used to correct for alignment issuesin SteamVR, which are always symmetric on the forward/up plane. So basically for linear offset the x axis is flipped, and angular offset the y and z axes are flipped. As for presets, this should be done with the user presets feature but we haven't worked on that for a while, unfortunately it doesn't have much priority. If you are good with coding, you could send setting update commands to the webserver. If you are interested in this, contact me on discord.

Xentha commented 1 month ago

Ah, alright. I was using OpenVR Input Emulator to adjust controller offsets before, which could do them individually, but that stopped working and is a dead project seemingly. But if that's not simple to do, then I won't fuss. Unfortunate on both fronts, but I shall make due. I unfortunately wouldn't know the first thing about coding it myself. I have very basic coding experience but probably not the language that this uses. I don't have a lot of space to work on such a thing either - too many projects of my own. None the less, thank you for your reply. I may still contact you one day, but I wouldn't be able to put any significant time into it for the time being.