OSC Triggers

Trigger keypresses and macros from OSC messages


What is OSC?

OSC is a communication protocol primarily intended for sound devices but has been adopted for other things as well, such as VRChat leveraging it to make interactions between the game and other software possible.

What is OSC Triggers?

OSC Triggers allows us to map "events" to actual keypresses on the host computer, either over the network or from localhost. It's currently developed with a focus on VRChat OSC integration, but is written in a fairly generic way.

How do I use it?

OSC Triggers doesn't currently have a user interface, but the configuration file is designed to be as straightforward as possible with TOML. Here's an example configuration file that will issue a keypress for the F24 key when the user mutes themselves in VRChat:

[[mapping]]
event = "/avatar/parameters/MuteSelf"
key = "F24"
The event is entirely dependant on the program you're using. You can see an example list of VRChat OSC events here. Custom parameters can be added with some work in Unity.

Where can I download it?

Downloads are available from GitHub. If you know a bit of Rust, you can also build it yourself from the repository here.

How can I get in touch?

You can reach out with Mastodon at floofy.tech/@arch, or with Discord: arch#1919. No, there is no Discord server.