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. <param name
(Key key)
| 524 | /// TextInjectChar call.</summary> |
| 525 | /// <param name="key">The key to press.</param> |
| 526 | public static void KeyInjectPress(Key key) => NativeAPI.input_key_inject_press(key); |
| 527 | /// <summary>This will inject a key release event into StereoKit's |
| 528 | /// input event queue. It will be processed at the start of the next |
| 529 | /// frame, and will be indistinguishable from a physical key release. |
nothing calls this directly
no test coverage detected