Unable to SDL_PollEvent keyboard events when building with -proxy-to-worker to use the Fetch api

30 views
Skip to first unread message

linuxownz

unread,
Jan 2, 2024, 11:47:44 PMJan 2
to emscripten-discuss
Hello,
  Unable to receive keyboard events using SDL_PollEvent while building with proxy-to-worker, which I use for the Fetch API.

Mouse events work fine.  I do see MOUSE ENTER/LEAVE events for a mouse click however.  Could the canvas be losing focus and not receiving the events?

I am new to emscripten?  Any ideas?

Thanks


linuxownz

unread,
Jan 5, 2024, 8:28:13 PMJan 5
to emscripten-discuss
Reply all
Reply to author
Forward
0 new messages