vrchat-community / osc

Files and Info on using OSC to communicate with VRChat
MIT License
234 stars 5 forks source link

Expose an OSC input to control mic toggle #63

Closed FrostbyteVR closed 2 years ago

FrostbyteVR commented 2 years ago

What's the idea? Expose an input /input/mic for toggling your mic input (as if you pressed/held the V key).

This will allow turning your mic on/off while being tabbed out of vrchat. Would also allow for custom controllers to have a mic toggle.

Is there another way? Not really, you could emulate keyboard input but that would require vrchat to be the active window; which would not allow for talking in vrchat while being tabbed out of it.

brandonvdongen commented 2 years ago

on that note. I've tried to do this through keypress emulation. but for some reason it just doesn't work to emulate the key for vrchat with any library i tried.. vrchat seems to listen only to keyboard V presses virtual v keypresses.

momo-the-monster commented 2 years ago

In next build as /input/voice