MCPcopy Create free account
hub / github.com/StereoKit/StereoKit / submit_chars

Function submit_chars

StereoKitC/tools/virtual_keyboard.cpp:216–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214///////////////////////////////////////////
215
216void submit_chars(const char *utf8) {
217 if (utf8 == nullptr) return;
218
219 char32_t c = 0;
220 while (utf8_decode_fast_b(utf8, &utf8, &c)) {
221 input_text_inject_char(c);
222 }
223}
224
225///////////////////////////////////////////
226

Callers 2

virtualkeyboard_keypressFunction · 0.85

Calls 2

utf8_decode_fast_bFunction · 0.85
input_text_inject_charFunction · 0.85

Tested by

no test coverage detected