MCPcopy Create free account
hub / github.com/FastLED/FastLED / processUiInput

Function processUiInput

src/platforms/wasm/js_bindings.cpp.hpp:184–193  ·  view source on GitHub ↗

* Pure C++ UI Input Processing Function * Processes UI input JSON from JavaScript */

Source from the content-addressed store, hash-verified

182 * Processes UI input JSON from JavaScript
183 */
184EMSCRIPTEN_KEEPALIVE void processUiInput(const char* jsonInput) {
185 if (!jsonInput) {
186 fl::printf("Error: Received null UI input\n");
187 return;
188 }
189
190 // Process UI input from JavaScript
191 // Forward to existing UI system
192 fl::jsUpdateUiComponents(jsonInput);
193}
194
195} // extern "C"
196

Callers 1

updateJsFunction · 0.85

Calls 2

printfFunction · 0.85
jsUpdateUiComponentsFunction · 0.85

Tested by

no test coverage detected