The KeyPressEvent event cannot be acquired and processed in the emscripten environment

I recently followed your vtkDearImGUIInjector project and built it under emscripten.My development environment is:
VTK:
git clone https://gitlab.kitware.com/vtk/VTK.git
git checkout b39f9bfb
Emscripten:
1.39.10
I see you handled the incident response here:

void vtkDearImGUIInjector::InstallEventCallback(vtkRenderWindowInteractor *interactor)

void vtkDearImGUIInjector::DispatchEv(vtkObject *caller, unsigned long eid, void *clientData, void *callData)

but,Can not enter the following code branch,Operating system events were not successfully moved in。

case vtkCommand::KeyPressEvent:

Does that friend understand the cause or solution of this problem, thank you very much