Oculus_Touch_Steam_Link icon indicating copy to clipboard operation
Oculus_Touch_Steam_Link copied to clipboard

OSC Haptics

Open 0JXI0 opened this issue 10 months ago • 3 comments

I'd like a for a feature to be added that allows the controller haptics to be controlled by OSC

0JXI0 avatar Mar 29 '24 17:03 0JXI0

In what context? When acting as a tracker? Or all the time? Should steam vr haptic events be ignored in this mode? Can you point me to a reference receiver implementation for OSC (in C or C++ preferably)?

mm0zct avatar Mar 29 '24 21:03 mm0zct

I don't see why it'd need to be limited to just when used as a tracker, So yea all the time. I'd personally be using it to add contact receivers on my avatar that send out the OSC messages to the CV1 controllers that causes them to vibrate. The Steam VR haptic events don't super matter but if you feel like adding a toggle it'd be nice. The last one, I don't really program but you could probably use something like VRCFT (https://github.com/benaclejames/VRCFaceTracking) to look at their OSC receiver implementation as a reference. I also have a friend that has done this same thing but with ESP's and haptic modules so you can reference their code for the intensity and receiver for vibration. (https://github.com/NulledFloof/ESP8266-VR-OSC) There's also tons of other VRChat related projects available on GitHub to use as reference.

0JXI0 avatar Mar 30 '24 03:03 0JXI0

Oh and I'd like the haptics to behave as the ESP OSC haptics behaves, basically it takes the position of a contact inside of a receiver sent by the game and calculates velocity

0JXI0 avatar Mar 30 '24 04:03 0JXI0