Input.KeyInjectRelease
static void KeyInjectRelease(Key key)
This will inject a key release 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 release. This should be preceded by a key press!
This will not submit text to StereoKit’s text queue, so to type a character into something like UI.Input, you must submit a TextInject call. Editing keys are the other way around: backspace, delete, enter, and escape act on UI.Input through KeyInjectPress.
| Key key | The key to release. |
Found an issue with these docs, or have some additional questions? Create an Issue on Github!