static void KeyInjectPress(Key key)

This will inject a key press event into StereoKit’s input event queue. It will be processed at the start of the next frame, and will be indistinguishable from a physical key press. Remember to release your key as well!

This will not submit text to StereoKit’s text queue, and will not show up in places like UI.Input. For that, you must submit a TextInjectChar call.

Key key The key to press.

Found an issue with these docs, or have some additional questions? Create an Issue on Github!