emscripten_request_pointerlock() returns EMSCRIPTEN_RESULT_UNKNOWN_TARGET
I have made an example that calls emscripten_request_pointerlock("document", false);
by mouse click:
I have made an example that calls emscripten_request_pointerlock("document", false);
by mouse click: